Write a C++ Program to display your Name, class, school in three different lines.
Answers
Answered by
0
Answer:
In this program, we will read name and age of the person and display them on the output screen. Here, we will learn how to read string (name) with spaces in C++ language?
Here, we are declaring a string (character array) variable named name that will store name of the person and integer variable named age that will store the age of the person.
Similar questions