Problem 01:
Write a Person class that has attributes of id, name and address. It has a constructor to initialize, a member function to input and a member function to display data members. Create second class Student that inherits Person class. It has additional data members of roll number and marks. It also has member functions to input and display its data members. Create another class Scholarship that inherits Students 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
3
Answer:
mention language hurry up
Explanation:
Similar questions
Computer Science,
2 months ago
Hindi,
5 months ago
Biology,
5 months ago
English,
11 months ago
Chemistry,
11 months ago