Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
3. 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 156 State income tax 55 Social security tax- 58 Medicare/Medicaid 35 Pension plan 79 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 assignment is all about formatting the outplet Sample output: Employee ID: Employee Name: 12345 John Doe EARNINGS Federal Tax State Tax Social Security Medicare/Medicaid Pension Plan Health Insurance 4500.00 675.00 225.00 225.00 135.00 315.00 125.00 NET PAY 2755.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

=+2. Are you happy with these results?

Answered: 1 week ago

Question

3. How would this philosophy fit in your organization?

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago