The document defines a Student class with data members to store student details like roll number, name, and marks in 5 subjects. It contains member functions to assign student details input from the user and display student details including total marks. The main function takes input of total students, calls the assign function to input details of all students in a loop, and then calls the disp function in another loop to output the student details table with roll number, name, marks of 5 subjects and total marks for each student.
The document defines a Student class with data members to store student details like roll number, name, and marks in 5 subjects. It contains member functions to assign student details input from the user and display student details including total marks. The main function takes input of total students, calls the assign function to input details of all students in a loop, and then calls the disp function in another loop to output the student details table with roll number, name, marks of 5 subjects and total marks for each student.
The document defines a Student class with data members to store student details like roll number, name, and marks in 5 subjects. It contains member functions to assign student details input from the user and display student details including total marks. The main function takes input of total students, calls the assign function to input details of all students in a loop, and then calls the disp function in another loop to output the student details table with roll number, name, marks of 5 subjects and total marks for each student.