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  www. j a v  a  2s  .  c  om
{ 
    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