Resolved
Write a program according to the specification given below:
- Create a class Teacher with data members tid & subject and ember functions for reading and displaying data members.
- Create another class Staff with data members sid & position, and member function for reading and displaying data members.
- Derive a class Coordinator from Teacher and Staff and the class must have its own data member department and member functions for reading and displaying data members.
- Create two object of Coordinator class and read and display their details.
This answer is restricted. Please login to view the answer of this question.
Login Now