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 by using C++
Answers
Answered by
5
Answer:
c++ I know c-- I heard about python not c++ not c--
Similar questions