Question: language is c++, please post a pic of compiled program Write a program that uses the class SalariedEmployee given in Display 14.4 Your program is

 language is c++, please post a pic of compiled program Writea program that uses the class SalariedEmployee given in Display 14.4 Your

language is c++, please post a pic of compiled program

Write a program that uses the class SalariedEmployee given in Display 14.4 Your program is to define a derived class called Administrator, which is to be derived from the class SalariedEmployee. You are allowed to change private in the base class to protected. You are to supply the following additional data and function members: . A member variable of type string that contains the administrator's title, (such A member variable of type string that contains the company area of respon- A member variable of type string that contains the name of this administra- as Director or Vice President). sibility (such as Production, Accounting, or Personnel) tor's immediate supervisor . . A protected member variable of type double that holds the administrators annual salary. It is possible for you to use the existing salary member if you changed private in the base class to protected. A member function called setSupervisor, which changes the supervisor n . A member function for reading in an administrator's data from the keyboard. . A member function called print, which outputs the object's data to the screen. - Finally, an overloading of the member function printCheck() with appropri ate notations on the check

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!