Question: Assignment #9: Summary Report In this assignment we will take the data stored in an array and at the end of the program, print a
Assignment #9: Summary Report In this assignment we will take the data stored in an array and at the end of the program, print a summary report which looks like: ----------------------- Summary Report ----------------------- Employees Entered: 4 Total Gross Pay: $1800.00 Highest Gross Pay: $200.00 Lowest Gross Pay: $300.00 Average Gross Pay: $350.00 Employee with Highest Number of Hours: Bob Smith Employee with Lowest Number of Hours: Dave Jones Total Hours: 200 Total Overtime hours: 50 Total Overtime paid: $200.00 Overtime % of total gross: 23.20 % (to 2 places) Federal Tax Total: $1233.12 State Tax Total: $123.12 Fica Tax Total: $12.12 Input Expected: Same as Assignment #6 Sample Run: Inputs: Enter Employee Id: 123456 Enter Employee first name: Larry Enter Employee last name: Schoeneman Enter # of hours worked this week: 50 Enter hourly rate of pay: $10.00 Output: Employee Id : 123456 Last Name: Schoeneman First Name: Larry Week of 6/11/2020 (use current date) Hours Worked: 50 Hourly Rate: $10.00 Regular Pay: 40 hours at $10/hr: $400.00 Overtime Pay: 10 hours at $15/hr: 150 Gross Total: $650.00 Would you like to enter another employee? (Y/N) After all employees are entered, display the following: Payroll Summary Report __________________________ Total # of Employees : n (where n is the number of employees entered Total Gross Salary : $XXXx.xx Total Normal Time Gross: $xxx.xx Total Overtime Gross: $xxx.xx Total Federal Taxes: $xxxx.xx Total State Taxes: $xxxx.xx Total FICA: $xxxx.xx Hints: 1. Use printf 2. To print a percent sign, use %% Specification: As before, read in the information as shown, and use the classes we built to print out the appropriate stubs. Now, after that is complete, ask the user if they would like to enter another employee. If yes, repeat the experience, otherwise, say goodbye and exit the program.


Write a Java code for this assignment.
Assignment #9: Summary Report In this assignment we will take the data stored in an array and at the end of the program, print a summary report which looks like: Summary Report Employees Entered: 4 Total Gross Pay: $1800.00 Highest Gross Pay: $200.00 Lowest Gross Pay: $300.00 Average Gross Pay: $350.00 Employee with Highest Number of Hours: Bob Smith Employee with Lowest Number of Hours: Dave Jones Total Hours: 200 Total Overtime hours: 50 Total Overtime paid: $200.00 Overtime % of total gross: 23.20% (to 2 places) Federal Tax Total: $1233.12 State Tax Total: $123.12 Fica Tax Total: $12.12 Input Expected: Same as Assignment #6 Sample Run: Inputs: Enter Employee Id: 123456 Enter Employee first name: Larry Enter Employee last name: Schoeneman Enter # of hours worked this week: 50 Enter hourly rate of pay: $10.00 Output: Employee Id : 123456 Last Name: Schoeneman First Name: Larry Week of 6/11/2020 (use current date) Hours Worked: 50 Hourly Rate: $10.00 Regular Pay: 40 hours at $10/hr: $400.00 Overtime Pay: 10 hours at $15/hr: 150 Gross Total: $650.00 Would you like to enter another employee? (Y/N) After all employees are entered, display the following: Payroll Summary Report Total # of Employees: n (where n is the number of employees entered Total Gross Salary: $XXXX.XX Total Normal Time Gross: $xxx.xx Total Overtime Gross: $xxx.xx Total Federal Taxes: $xxxx.xx Total State Taxes: $xxXX.XX Total FICA: $xxxx.xx Hints: 1. Use printf 2. To print a percent sign, use %% Specification: As before, read in the information as shown, and use the classes we built to print out the appropriate stubs. Now, after that is complete, ask the user if they would like to enter another employee. If yes, repeat the experience, otherwise, say goodbye and exit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
