Answered You can hire a professional tutor to get the answer.

QUESTION

Develop classes or class templates in C++ for the following:) Administrative Employess are paid a salary, but they also receive a bonus at regular...

Develop classes or class templates in C++ for the following:i.) Administrative Employess are paid a salary, but they also receive a bonus at regular intervals during the year. Add a class "Administrator" to the Employee class hierarchy.ii.) Factory workers are paid a certain amount for each unit they make and their total pay is the number of units produced times the pay per unit. Add a class "FactoryEmployee" to the Employee class hierarchy.iii.) Salespersons are paid a salary plus a commission on their sames times the commision rate. Add a class "Salesperson" to the Employee class hierarchy.Now, write a complete PAYROLL program for a company in which each employee falls into one of the 3 categories - Administrative, FactoryEmployee or Salesperson.

#include<iostream.h>#include<conio.h>#include<iomanip.h>#include<string.h>#include<process.h>const float salary=0.0;class Employee //Class Declaration {private:...
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question