Question: 11. (Program) a. Construct a class named student consisting of an integer student ID number and a double-precision grade point average. The constructor for this

11. (Program) a. Construct a class named student consisting of an integer student ID number and a double-precision grade point average. The constructor for this class should initialize the ID number to 1 and the grade point average to 0.0. Include an accessor function to dis- play all data values. b. Include the class constructed in Exercise 1a in the context of a complete program. Your program should declare two objects of type Student and display data for the two objects to verify operation of the class functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
