Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 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
tablePayroll Report,,EmployeeHours,Pay,PsyNumberWorked,Rste,AmountTotal
Sample report for data
tablePayClassPay Rate Per hour
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started