Saturday, 25 July 2015

Write a program that displays your favorite poem

Leave a Comment
Questions:

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


If You Enjoyed This, Take 5 Seconds To Share It