Basic Program in C++

Basic Program in C++

Write a program to print a message on the screen?

Program with comments.

We can comment the program for better understanding. Comments can be started with the symbols //.

Output.

basic program in c plus plus


Write a program to print two messages on two different lines on the screen?

Program with comments.

Output of the program.

first program in c++

.