Cpp - Write program to output text on screen

Requirements

Write a C++ program that outputs the following text on screen:


Oh what 
a happy day! 
Oh yes, 
hi from book2s.com!  

Hint

Use several cout statements

Demo

#include <iostream> 
using namespace std; 

int main() /*  ww  w  . j  a v a 2s  . c  o  m*/
{  cout << " Oh what " << endl; 
    cout << " a happy day! " << endl; 
    cout << " Oh yes, " << endl; 
    cout << " hi from book2s.com! " << endl; 

    return 0; 
}

Result

Related Exercise