Question: 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,

 Write a java program to create a payroll report based on

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, employees who work over than 40 hours are entitled to get paid overtime (1.5 for every hour exceeding 40). Your program is to calculate: I. 2. The Overtime: Overtime- number of hours exceeding 40 4, Federal Tax: fed Tax-Gross * 12% hours worked) + over tims. Rate" 1.5 The Gross income: Gross income-(Rate State Tax: State Tax = gross * 6% Union fees: Union fees-Gross* 1% 5, Gross-(state tax + fed tax + Union fees). Net: Net Tolal Gross for all employees. 7. 8. Average Gross for all employees. Directions: 1. Must use arrays and methods. 2. Output must be displayed in the following format: Data Housing Corp. Payroll FNameLName Id # Rateh OThrs Gross state tax fed tax Union fees Net Joe Smith A999 $00,00 0 $000.00 s00.00 $00000 s000.00 $000.00 The input consists of employee's first name, middle initial, last name, hours worked, and rate per hour Input is stored in an input file 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.) User is to be provided of tow options for the output: a) Send output to screen b) Send output to an output file. . Apply any programming applicable building blocks such as: loops, constants, data validation, if, else, switch, arrays, precision ete... * . Document your program. . Submit: Source code. Output in the above format

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!