Reference no: EM132080143
You need help writing this Payroll Application. You need to use object oriented techinques in the program as well as the listed techniques.
Purpose: Build an application to calculate an Employee's Net Pay and a Department's Total Payroll Report. This lab will be a file-processing lab based off and object.
Requirements: Build an application to allow a department to calculate each Employee's Net Pay and the Department's Total Payroll Report.
First, the application will read information from the input file (Payroll.txt). The app reads for each employee (name, marital status, dependents, gross pay) into class array.
Then the application calculates gross pay and writes each Employee's Full Name and Payroll Information to the output file (Pay Report.txt) (see both inputs and outputs listed in the tables below).
Assumptions:
1. Assume your department has 10 employees (or less).
2. Calculate Deductions
a. Federal Tax Amount ($) = Gross Pay * Federal Tax Rate (To calculate federal tax rate use the appropriate Tax Table (Married or Single) to determine correct Federal tax rate based on yearly gross pay.)
b. FICA (Social Security) Amount ($) = 7.65% of Gross Pay
c. State Tax = 3.07% of Gross Pay
d. Medical = Dependent * $150
3. Net Pay = Gross Pay - Deductions
Language: JAVA
Techniques: Your successful program will implement the following program techniques:
1. Class and Object-Oriented Processing
2. Arrays and Array Processing - (Arrays will hold employee information)
3. Methods - (Most of your process should be in class-member methods)
4. Decisions - (For determining Federal Tax Rate)
5. Loops - (For processing each employee)
6. Files Processing - (Input file = Payroll.txt Output file = Pay Report.txt)
Name Gross Pay Net Pay Total Deduction Federal FICA State Medical
Smith, Joe $ 6080.00 $4066.23 $2013.77 $ 912.00 $465.12 $186.66 $450.00
Smith, Sally $ 615.00
Smith, Chris $ 550.00
Department Total
Payout $ 1565.00
Table 3-Single Federal Tax Rate Table
Yearly Taxable Income Tax Rate
$0-$9,275 10%
$9,276-$37,650 15%
$37,651-$91,150 25%
$91,151-$190,150 28%
$190,151-$ 413,350 33%
$413,351-$415,050 35%
$415,051 or more 39.6%
Table 4- Married Filing Joint Federal Tax Rate Table (Widow(er))
Yearly Taxable Income Tax Rate
$0-$18,550 10%
$18,551-$75,300 15%
$75,301-$151,900 25%
$151,901-$231,450 28%
$231,451-$413,350 33%
$413,351-$466,950 35%
$466,951 or more 39.6%