final cpt

Thunder Network Systems Inc. needs a program that would process the company's payroll. Your company has been awarded the contract to design it. Following several meetings with the Human Resources and Payroll managers of Thunder, your programmers were a given an overview of the payroll process. Each employee gets paid once a week (weekly). The pay is determined by the number of hours worked by employees per week and their hourly pay rate. The federal and provincial governments require that Thunder withhold taxes, each at a different rate.
The program is to input from a file the employee's name (names.txt), hours (hour.txt) worked and pay rate (pay.txt) and then compute and display all the values found in the output below (output.txt). All the inputs are handled by their repective arrays. Since the company must remit the federal and provincial taxes withheld to the respective governments, the program must display the total of (both) taxes withheld. In addition, so that the auditors may audit the payroll records, the total gross and net pay paid out must also be displayed. You must instantiate a GrossPay, Taxes and NetPay objects. The output must follow the format provided.
Before the program begins working on the employee sheets, you may hardcode the federal and provincial taxes' rates.
For submission of your assignment, run the program using n employees, a federal taxation rate of 17%, a provincial taxation rate of 14% and the following time sheet data (employee name, hours and pay rate). You will submit a soft copy of this assignment.

Submit all files in a folder with your last name.
DUE DATE: Friday, January 17.

Sample Output to File

Employee Name Hours Pay rate Gross Pay Tax Deduction Net Pay
Messi 35.0 25.00 875 271.25 603.75
Ronaldo 40.0 15.00 600 186 414
Rooney 10.0 10.00 100 31 69
Zidane 20.0 12.75 255 79.05 175.95
Total Gross Total Taxes Total Net
1830 567.30 1262.70

To view rubric, please click here