Include the class constructed in exercise 5a in the context


a. Construct a class named Student consisting of an integer student ID number, an array of five double-precision grades, and an integer representing the total number of grades entered. The constructor for this class should initialize all Student data members to 0. Included in the class should be member methods to

1) enter a student ID number

2) enter a single test grade and update the total number of grades entered, and

3) compute an average grade and display the student ID followed by the average grade.

b. Include the class constructed in Exercise 5a in the context of a complete program. Your program should declare two objects of type Student and accept and display data for the two objects to verify operation of the member methods

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Include the class constructed in exercise 5a in the context
Reference No:- TGS02192106

Expected delivery within 24 Hours