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

  Compare and contrast two models of conceptualizing addiction

Compare and contrast two models of conceptualizing addiction. Describe the models, how they are synergistic, or how they take competing views.

  Distinguish between static and dynamic dataflow computers

Distinguish between static and dynamic dataflow computers. Draw a dataflow graph showing the computations of the roots of a sequence of quadratic equations Ax?

  Discuss sharepoint services and various sharepoint options

Discuss SharePoint services and various SharePoint options as well as Windows Media Rights Management to handle the requirements of different enterprise scenarios, such as one that requires the use of quick collaboration and the use of video resou..

  Describe cognitive social phenomena that occur

Describe cognitive social phenomena that occur specifically to the context of the MMORPG that wouldn't happen in a face-to-face checkers game.

  Assume that we are using the given checksum scheme add up

a. suppose computers a b c and d are connected to an ethernet cable similar to the setup shown in lecture. computer a

  Identify two to three of the more common connections

Identify two to three of the more common connections and summarize their associated data rates, typical uses, and approximate costs.

  Inserting data into the section tag of start page

Using an instance of the XMLHttpRequest object, you should query the server with the ultimate aim of inserting data into the section tag of start.html.

  Examine recursive function computation of fibonacci numbers

Examine the recursive function computation of Fibonacci numbers. Note that each Fibonacci number is recomputed many times.

  How is a process created

How is a process created? Mention briefly the role of the fork and exec system calls in process creation.

  Write a python function that implements the algorithm

Create a new file p2.py where you write a Python function find_dup_str(s, n) that implements the algorithm .

  Write a short shell script called c-interp

CS 146 Assignment. Write a short shell script called "C-interp" which is intended to have soft links point at it, and pretends to be a C language interpreter

  When the server reboots will the file handle still be valid

When the server reboots, will the file handle still be valid? If so, how does it work? If not, does this violate the principle of statelessness?

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