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

  Developing a strong scm process to match is system

Developing a strong SCM process to match IS system upgrades would provide what advantage(s)? What would such a process look like? Watch the "Strategic Global Vision" video. What role does technology have in social responsibility

  The interaction between web browser and web server

Search the Internet for information regarding the interaction between web browser and web server using HTTPS from initial handshake to close of the session.

  What is oriented programming and object-oriented design

Find out resources on Visual Basic. Select your favorite three and explain what they have to offer. Also discuss the differences between Object-Oriented Programming (OOP) and Object-Oriented Design (OOD).

  Write a main program that creates a queue size of 5

Write a main program that creates a queue size of 5 and uses a loop to crrate the out put shown here.

  Define a dynamic html document

Define a dynamic HTML document. If you know the id of an HTML element, how can you get the DOM address of that element in JavaScript?

  Defining error terms in cross-sectional data

Why are the error terms in cross-sectional data unlikely to be serially correlated? Can you give an example in which serial correlation could be present.

  Design your own linked list class to hold series of integers

Design your own linked list class to hold a series of integers. The class should have member functions for appending, inserting, and deleting nodes.

  What are the different mechanisms used to pass parameters

What are the three different mechanisms used to pass parameters to the operating system during a system call?

  How the given policy solutions should be incorporated

Create a brief description of how these policy solutions should be incorporated into the given framework. The description should thoroughly analyze.

  Write a function that outputs everything

Also write a function that outputs everything in the order along with the total price. Write a suitable test program that adds multiple pizzas to an order(s).

  Discuss backus-naur form for production of signed integers

Give the Backus-Naur form for the production of signed integers in decimal notation. (A signed integer is a nonnegative integer preceded by a plus sign.

  What is the function of int argument to void function exit

Write a complete C++ program to compute and output the square roots of the whole numbers. What is the function of the int argument to the void function exit?

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