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 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). 1. Your program is to calculate: The Gross income: Gross income (Rate * hours worked) + over time. The Overtime: Overtime number of hours exceeding 40 * Rate 1.5 State Tax: State Tax = gross 6% Federal Tax: fed Tax = Gross 12% Union fees: Union fees = Gross 1% Net: Net - Gross-(state tax + fed tax + Union fees). Total Gross for all employees. Average Gross for all employees. 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
