Question: Design and implement a class hierarchy for XYZ, Lahore campus, employees. We are interested in modeling only the Managers and Faculty. Director shall be treated

Design and implement a class hierarchy for XYZ, Lahore campus, employees. We are interested in modeling only the Managers and Faculty. Director shall be treated as a Manager. The following information for each employee needs to be captured: First Name, Middle Initial, Last Name, Department All of above are of type string except Middle Initial that is of type Character. All Managers belong to certain Level which are numbered 3 through 5. Director is both a faculty member as well as a Manager, but does not belong to any level. Each faculty member is either professor, Associate or Assistant Professor. We are only interested in creating objects of different types of employees and a function that prints the relevant information for each employee. for Manager the output of function should be of the form: First Name, Middle Initil, Last Name, Department, Level for Director the output of function should be of the form: First Name, Middle Initil, Last Name, Department, Director for Faculty the output of function should be of the form: First Name, Middle Initil, Last Name, Department, Position in C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!