Cpp - Fix the errors in the code

Requirements

fix the existing errors

*/ this is a test. // 
#include <stream> 
int main 
{ 
   cout << "hi from book2s.com", 
   cout >> " hi from book2s.com, "; 
   cout << " endl;" 
   cout << 'hi from book2s.com ' 
         << " the back!"  << endl. 
   return 0; 
) 

Demo

/* this is a test. */ 
#include <iostream> 
using namespace std; 
int main() /*from  w  ww. ja v a 2 s. co  m*/
{ 
    cout << " hi from book2s.com "; 
    cout << " hi from book2s.com, "; 
    cout << endl; 
    cout << " hi from book2s.com " 
           << " the back!" << endl; 
    return 0; 
}

Result

Related Exercise