Write a complete payroll program for a company in which


Write a complete payroll program for a company in which each employee falls into one of the five categories described in the text and in Exercises 1-3-salaried, hourly, administrative, factory, or salesperson.

Exercise 1,

You should also write driver programs to test them as instructed in the programming problems at the end of this chapter.

Administrative employees are paid a salary, but they also receive a bonus at regular intervals during the year. Add a class Admit instructor to the Employee class hierarchy described in the text.

Exercise 2,

You should also write driver programs to test them as instructed in the programming problems at the end of this chapter.

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 Factory Employee to the Employee class hierarchy described in the text.

Exercise 3

You should also write driver programs to test them as instructed in the programming problems at the end of this chapter.

Salespersons are paid a salary plus a commission on their sales; their total pay, therefore, is their salary plus the amount of their sales times the commission rate. Add a class Salesperson to the Employee class hierarchy described in the text.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Write a complete payroll program for a company in which
Reference No:- TGS02590390

Expected delivery within 24 Hours