Question
using C++ programming Derive an Administrator class from SalariedEmployee in stored in the files section on canvas.You'll need to download the files employee.cpp, employee.h, salariedemployee.cpp,
using C++ programming
Derive an Administrator class from SalariedEmployee in stored in the files section on canvas.You'll need to download the files employee.cpp, employee.h, salariedemployee.cpp, andsalariedemployee.h. You can find these in Canvas under Files HWHW8codeI
t is allowed (actually, it is recommended) to change the protection qualifier private toprotected in the base class.
Supply the following additional data and function members. A variable of type string named title to contain the administrator's title. Examples:
Director, Vice President A variable of type string named responsibility to hold the name of the area of responsibility of the administrator. Example: Finance, Accounting, and Personnel. A variable of type string named supervisor to hold the name of the administrator's
immediate supervisor. A protected member variable of type double to hold the administrator's annual
salary. A member function, setSupervisor, to change the name of the supervisor.
A member function to allow keyboard entry of the administrator's data.
A member function, print, that does screen display of administrator's data.
An overloaded member function printCheck() to print the administrator's data on the
check.
Write a main function to test all the member functions and functionality of your derived class.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started