CPP Programs / CPP Program to create array of class objects

Program Name Write a CPP Program to display Names, Roll No and grades of students who have appeared in the examination by declaring the class name, Roll No and grade. Create an array of class objects. Read and display the contents of the array.
Program
Input
Enter total number of students: 1
Enter student details 1:
Enter name: wisdom
Enter roll number: 9
Enter total marks outof 500: 499
Output
Student Details1:
Student details:
Name:wisdom,Roll Number:9,Total:499,Percentage:99.8


Home     Back