Computer Science, asked by yasirbangash512, 2 months ago

OOP
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 manoharsingh77803
0

Answer:

hlo ok byyyyyyyyyyyyyyyyyyyyyyyyy

Similar questions