Calculate an employees net pay

Assignment Help Computer Engineering
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%

Reference no: EM132080143

Questions Cloud

Compute the final percentage score for each student : Write an awk script called activity6.1-8.awk that compute the final percentage score for each student, as well as the class average
Watch the episode of simpsons bart gets an elephant : Watch the episode of The Simpsons "Bart Gets an Elephant". In the episode, the Simpsons find that their pet elephant
Write a method called totalhours that takes three integer : Write a method called "totalHours" that takes three integer arguments (number of weeks, number of days, number of hours) and returns the total integer hours.
What is the average revenue : It has a marginal revenue of $10. What is the average revenue, and how many units were sold?
Calculate an employees net pay : To calculate federal tax rate use the appropriate Tax Table (Married or Single) to determine correct Federal tax rate based on yearly gross pay.
Magnitude of the percentage change in price : people are not very responsive to the price changes of this product and the magnitude of the percentage change in quantity demanded is less than the magnitude
Assign a bit and b bit to the counter bits : Assign a (bit 1) and b (bit 0) to the counter bits so that all possible inputs are tested increments the counter using a process use.
Taxes to close a recessionary or inflationary gap : Discretionary fiscal policy refers to changes in: government spending or taxes to close a recessionary or inflationary gap.
Experiences economies of scale or diseconomies of scale : Indicate whether each firm experiences economies of scale or diseconomies of scale.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Discuss the challenges of maintaining information security

Discuss the challenges of maintaining information security at a remote recovery location. The response must be typed.

  Describe three tools that can aid in the replication process

Describe and detail three tools that can aid in the replication process. List and describe some of the best practices for Active Directory Replication.

  What implications does this present to you as a programmer

It is therefore possible for a program, thinking a memory location holds a piece of data when it actually holds a program instruction, to accidentally (or on purpose) modify itself. What implications does this present to you as a programmer?

  Write a program to measure time taken to access an element

Write a program to measure the time taken to access an element of an object of our array class by means of the member function, element o.

  Create a new project in bluej called assignment

Facebook now want to expand their software to include extra features. They need the software to be able to maintain large numbers of Friends and Stories. It must also include the ability to add Events and to classify Friends as best friends or close ..

  Create an excel spreadsheet that indicates the rental type

you manage a b amp b in vail colorado which has three 1 bedroom suites and two 2 bedroom suites. the 1 bedrooms rent

  Write code for the given functions

Write code for the following functions. Function void clear(Stack &s) deletes all entries and returns s as an empty Stack.

  Find the contiguous subarray within an array

Find the contiguous subarray within an array (containing at least one number) which has the largest product. Return an integer corresponding to the maximum.

  The ward management subsystem of the hospital management

the ward management subsystem of the hospital management system is required for assigning wards to patients who are

  Write a program that uses a stack to read an integer

Write a program that uses a Stack to read an integer and print all its prime divisors in descending order. For example, with the integer 2100 the output.

  Write a class called book

Write a class called Book, that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept

  Describe a strategy using pseudo code

A timing circuit is needed that can generate a time delay longer than counter clock cycles of the timer/counter comparison circuit shown in Figure.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd