Algorithms for write a program to inputs name and age of 5 employees and display them
Answers
Answered by
1
Answer:
Explanation:
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
Science,
1 month ago
English,
1 month ago
Hindi,
3 months ago
Accountancy,
9 months ago
Chemistry,
9 months ago