Question: Please use scanner class, arrays and method. Thanks Write a java program to create a payroll report based on the following assumptions and requirements: A

Please use scanner class, arrays and method. Thanks  Please use scanner class, arrays and method. Thanks Write a java

Write a java program to create a payroll report based on the following assumptions and requirements: A company called Data Housing Corp. employs 100 employees, all employees are hourly based, employee who work over than 40 hours are entitled to get paid overtime (1.5 for every hour exceeding 40). Your program is to calculate: The Gross income: Gross income = (Rate * hours worked) + over time. 1.5 2. The Overtime: Overtime number of hours exceeding 40 3, State Tax: State Tax-gross* 6% 4. Federal Tax: fed Tax = Gross * 12% 5. Union fees: Union fees = Gross * 190 6. Net: Net = Gross--(state tax + fed tax + Union fees). 7. Total Gross for all employees. 8. Average Gross for all employees. Rate ALL Directions: 1. 2. Must use arrays and methods. Output must be displayed in the following format: Data Housing Corp. Payroll FName LName Id # Rath OT hrs Gross state tax fed tax Union fees Net Joe Smith A999 $00.00 0 S000.00 $000.00 000.00 S000.00 $000.00 The input consists of employee's first name, middle initial, last name, hours worked, and rate per hour. State tax, Fed tax and Union fees percentages are constants. The FORMATTED Output includes all input information and all calculated information such as (gross, net. etc.) . .Apply any programming applicable building blocks such as: loops, c validation, if, else, switch, arrays, precision etc... Input validation (greater than 0 and less than 60 for hours worked)

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!