Calculate and print the monthly paycheck for an employee

Assignment Help Computer Engineering
Reference no: EM132200840

Write a Java program to calculate and print the monthly paycheck for an employee. The net pay is calculated after taking the following deductions:

    Federal income tax = 15%
    State income tax    = 5%
    Social security tax = 5%
    Medicare/Medicaid   = 3%
    Pension plan        = 8%
    Health insurance    = $125.00

Your program should ask the user to input the employee ID, last name, first name, and the earnings (gross amount) for current month.

The output should be the net pay, after deductions. Format the output to have 2 decimal places. 

NOTE: This is all about formatting the output

Sample output:

Employee ID:                     12345
Employee Name:                John Doe
======================================
EARNINGS                       4500.00
Federal Tax                     675.00
State Tax                       225.00
Social Security                 225.00
Medicare/Medicaid               135.00
Pension Plan                    360.00
Health Insurance                125.00
======================================
NET PAY                        2755.00

Reference no: EM132200840

Questions Cloud

What would a realist think of the given ngo actions : What variables might determine the level of influence that an international NGO can wield in the international system? What would a Realist think of these NGO.
Draw the indifference curve the given bundle lies on : Now suppose Sonia meets up with other local candidates who are willing to trade their volunteers' time. Volunteers are still only willing to perform the task.
Calculate the maximum you would be willing to pay : Show your work. Imagine you have an investment opportunity A that is guaranteed to earn you a 5% annual return, for example, if you invest $1000 today.
Dijkstra shortest path algorithm and bellman-ford : Compare and contrast this two algorithm: Dijkstra's Shortest Path Algorithm and Bellman-Ford's Shortest Path Algorithm.
Calculate and print the monthly paycheck for an employee : Write a Java program to calculate and print the monthly paycheck for an employee.
Security policy for handling user accounts : Discuss the key issues that should be addressed in a security policy for handling user accounts/rights for an employee?
Write a java program that declares a radius value : Write a java program that declares a radius value as an integer of your choice and then calculates and prints the area.
Determine how the merger is been done : Government with an intention to scrutinize the mergers between companies came up with Anti trust law, which regulates how the merger is been done.
Pros and cons of the lowest and highest frequencies : What is the range of radio frequencies in wireless technologies; and what are the pros and cons of the lowest and highest frequencies?

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Determine similarity and subtle difference among conditions

Determine the similarities and subtle differences among the conditions on sequential consistency imposed by Lamport (1979), by Dubois et al.

  Write a program that fulfills the requirements specified

Write a program that fulfills the requirements specified here: Read and parse the "From" lines and pull out the addresses from the line.

  Write a c program to interpret the functional character

Write a C program to interpret the functional character (|) as a UNIX terminal does, Using system calls such as fork, waitpid, execvp, exit, pipe.

  Discuss strategies to ensure integrated error messages

Error messages are a key part of an overall interface design strategy of guidance for the user. Discuss strategies to ensure integrated.

  Program that recursive function to print a string backwards

modify a program that uses a recursive function to print a string backwards. Your program must contain a recursive function that prints the string backwards. Do not use any global variables; use appropriate parameters.

  What does the given string of bits represent

In the 4-bit computer we can find several occurrences of the 4-bit string, 0011. What does this string of bits represent?

  Define the syntax of programming languages

BNF is used extensively in the computing field to describe the syntax of programming languages. Please provide an example of where and how BNF may be used to solve real-world problem.

  How to evaluates an expression using this technique

Many early calculators used a post-fix entry to perform arithmetic calculations. For in case 2 + 3 in in-fix notation would be 2 3 + in post-fix notation. ( 2 + 3 ) * 4, would be 2 3 + 4 *. Utilizing a stack, post-fix expressions are very easily e..

  Distinguish between application software and system software

Distinguish between application software and system software. What is an operating system? Name an operating system popular with serious programmers.

  The wbfk transport company operates throughout mainland

the wbfk transport company operates throughout mainland australia. the company specialize in fast delivery of

  Read in two integers from a data file and process

Read and process value repeatedly until you come to the end of the file. You may select the name for the data file.

  What goes into a disaster recovery plan

Create a five-seven- PowerPoint Presentation on what goes into a disaster recovery plan. Include all the units as outlined in the textbook.

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