Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

Explain the steps involved in training programmes.

Answered: 1 week ago

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

LO3 Define job design and identify common approaches to job design.

Answered: 1 week ago