Question: Write a C++ program that has one base class named EMPLOYEE that has private members NAME, SALARY, YEAR_HIRED and one derived class named MANAGER that

Write a C++ program that has one base class named EMPLOYEE that has private members NAME, SALARY, YEAR_HIRED and one derived class named MANAGER that inherits from EMPLOYEE. MANAGER also has private member STAFF which is an array of strings. In the body of program, declare an object of each and enter data.

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!