Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CSC-117 (Java Programming) Payroll Project Spring 2018 Due Date: 0507/2018 Write a java program to create a payroll report based on the following assumptions and
CSC-117 (Java Programming) Payroll Project Spring 2018 Due Date: 0507/2018 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: 1. The Gross income: Gross income - (Rate hours worked) + over time. 2 The Overtime: Overtime = number of hours exceeding 40 * Rate* 1.5 State Tax: State Tax-gross* 6% Federal Tax: fed Tax Gross * 12% 5. Union fees: Union fees-Gross * 1% 6. Net: Net-Gross - (state tax + fed tax + Union fees). 7. Total Gross for all employees. 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 FName LName Id# Rateh OT hrs Gross state tax fed tax Union fees Net Joe Smith A999 $00.00 $000.00 S00.00 000.00 $000.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 etc... Document your program. Submit * . . Source code. . Output in the above format
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