C++ Multiple Inheritance Example
/*WAP according to the specification given below: a)Create a class Teacher with data member 't_id and subjects' and member function for reading and displaying data members. b)Create another class Staff with data members 's_id and position', and member function for reading and displaying data members. c)Derive a class Coordinator from Teacher and Staff and the class must have it's own data member 'department and member function for reading and displaying data memebers) d)Create a two object of Coordinator class and read and display their details. */ #include <iostream> using namespace std; class Teacher{ private: int t_id; string subject; public: void readingTeacherData(){ cout<<"Enter the teacher\'s id :"; cin>>t_id; cout<<"Enter the subject :"; cin>>subject; } void displ...