Question: Write a java program that is to produce the payroll report for Middle College as displayed below. Your program MUST use arrays to process the

Write a java program that is to produce the payroll report for Middle College as displayed below. Your program MUST use arrays to process the data. Your program will use at least 3 arrays. You will need to read the data from the file payroll.txt. Your progrem must send the report to the screen as wellas to a file named payreport.txt. The data contains the employee number, the number of hours worked, and the employees pay clasa. Use the table below to apply the correct pay rate to the employee. If an employee works more than 40 hours, then they will receive time and a half for eaoh hour of overtime.
Remember you will get partial credit. If you can not read from the file, then you may assign values to the array elements. If you cannot write to a file, make sure you display the results on the screen.
Your program must be structured using Methods
\table[[,Payroll Report,,],[Employee,Hours,Pay,Psy],[Number,Worked,Rste,Amount],[,=,=,],[21212,40,15.00,600.00],[31313,45,20.00,900.00],[Total,85,,1500.00]]
Sample report for data12401
31313,45,2
\table[[PayClass,Pay Rate Per hour],[1,15.00],[2,20.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!