Questions:
Code:
Output
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:
// displays your favorite poem
#include <iostream>
using namespace std;
int main()
{
cout<<"Nash:"<<endl
<<"Candy is dandy,"<<endl
<<"But liquor is quicker."<<endl;
}
Output
0 Questions:
Post a Comment