1) Define a class called student that has the following data members: - int student number - string student name - double student average The following member functions: - Constructor that initialize the data members with default values. - set and get functions for each data member - Print function to print the values of data members. Define a class called graduatestudent that inherits data members and functions from the class student, and then declare the following data members : - int level - int year Member functions: - constructor -set and get functions for each data member - Print function. Define a class called master that inherits data members and functions from graduatestudent class, and then declare the following data member: - int newid. Member function: - constructor - set and get function for the data member - Print function. Write a driver program that: - Declare object of type student with suitable values then print it - Declare object of type master with your information then print it.
Answers
Answered by
1
Explanation:
Hey mate sorry for wasting time but I don't know this answer but you can find this in chegg.com
I hope it's helful
Mark me the brainliest
#PeaceOut
Similar questions
Biology,
16 days ago
Computer Science,
16 days ago
Math,
1 month ago
Biology,
1 month ago
Math,
8 months ago