- Write a class Person that ahs attributes of id, name and address. It has a constructor to initialize, a member function to input and member function to display data members. Create 2nd class Student that inherits Person class. It has additional attributes of roll number and marks. It also has member functions to input and display its data members. Create 3rd class Scholarship that inherits Student class. It has additional attributes of scholarship name and amount. It also has member functions to input and display its data members.
Answers
Answered by
0
Answer:
this is paragraph right
Similar questions