Answer to Question #153820 in C++ for Ameen

Question #153820

Write a class Teacher that contains the attribute teacher name, age and address. It also contains member function to input and display its attributes. Write another class Writer that contains the attributes writer name, address and number of books written by him. It also contains member functions to input and display its attributes. Write a third class Scholar that inherits both Teacher and Writer classes. Write a main program which will create the object of each class and input data using input function and show data using display function of their relevant class.



1
Expert's answer
2021-01-04T13:12:07-0500
Dear Ameen, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog