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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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