Home‎ > ‎Assignments‎ > ‎

Payroll 3

Programming Assignment

Employee Payroll Report: Episode III


For this assignment you are to modify the Employee Payroll Report program, to implement a PayrollReport class (in addition to the Employee class) as follows:

A PayrollReport object corresponds to a payroll report. Each object of this class should include at least the following publicly accessible member function:

void insertDetail(Employee)
An insertDetail() message is used to insert a new detail line into the report. The data reported on this line pertains to the Employee object passed as a parameter into the function. Additionally it accumulates data that is to be reported as totals at the end of the report.