~Write a program that displays your favorite poem. Use an appropriate escape sequence for the line breaks. If you don't have a favorite poem, you can borrow this one by Ogden Nash:
Candy is dandy,
But liquor is quicker.
CODE:
#include <iostream>
/* Author: Danial Ahmed
Website: http://program-cpp.blogspot.com/
Contact: danyalphc@gmail.com */
using namespace std;
int main(){
cout << "Candy is dandy,\nBut liquor is quicker.";
return 0;
}
OUTPUT:
No comments:
Post a Comment