Computer Science, asked by iiSoftEtherealii, 8 months ago

Write a C++ Program to display your Name, class, school in three different lines.

Answers

Answered by sandhuhirdaypal25
3

Answer:

This program stores the information (name, roll and marks entered by the user) of a student in a structure and displays it on the screen.To understand this example, you should have the knowledge of the following C++ programming topics:

C++ Structures

C++ StringsIn this program, a structure(student) is created which contains name, roll and marks as its data member. Then, a structure variable(s) is created. Then, data (name, roll and marks) is taken from user and stored in data members of structure variable s. Finally, the data entered by user is displayed.

Explanation:

Good day ♥️

Similar questions