Question: ( a ) Implement a Student class. Each object of this class will represent a student in a particular course. Data members should include the

(a) Implement a Student class. Each object of this class will represent a student in a particular course. Data members should include the students ID number, first name, last name, and four exam scores. Methods should include a displayStudentInfo function and a computeAvgScore function.
In main(), create an object of this class and use it to enter values for some of its data members from the keyboard and display the values of its data members in the console window. You may ask the user to enter the number of students in the class. Use a loop to enter data, compute the average, and output data for successive students.
Use the following test data:
100 Robin Williams 90856799
200 Duncan McLeod 356788100
300 Bart Simpson 67448967
(b) Modify your program to include a constructor, access functions, and an inputStudentInfo function.
(c) Modify your program to compute and display the value of the overall average score for the class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!