Develop classes or class templates in c++


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.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Develop classes or class templates in c++
Reference No:- TGS0135798

Expected delivery within 24 Hours