Write a complete C++ program that writes the phrase Hello world to the screen. The program does nothing else.
Complete C++ Program Code:
//Include header files
#include <iostream>
using namespace std;
//Program starts here
int main()
{
//Display the phrase 'Hello world'
//to the screen by using cout statement
cout<<"Hello world";
//do nothing else
return 0;
}
Output of the program code:
Hello world