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

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

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 Databases Questions!