In this program we know how print “Hello” in different ways by using different
methods in c++.
Let’s write these programs to Display “Hello” on Screen.
Step 1: Let’s open turboC++ and write the following code:
cout<<”HELLO \n ”;
Step 2: Run the program to see Output.
we can also print the name on Screen by using following Code:
cout<<”please enter your name: \n”;
cout<<”your name is :\n “<<a;
Now , Run the program and see output.