Question: Write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after taking the following deductions: Federal
Write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after taking the following deductions: Federal Income Tax: 15% State Tax: 3.5% Social Security Tax: Medicare/Medicaid Tax: 5.75% 2.75% Pension Plan: Health Insurance: 5% $75.00 Your program should prompt the user to input the gross amount and the employee name. The output will be stored in a file. Format your output to have two decimal places. A sample output follows: Bill Robinson Gross Amount: $ 3575.00 Federal Tax: $ 536.25 State Tax: 125.13 Social Security Tax: Medicare/Medicaid Tax: $ 205.56 98.31 Pension Plan: 2$ 178.75 Health Insurance: $ 75.00 Net Pay: $ 2356.00
Step by Step Solution
3.53 Rating (156 Votes )
There are 3 Steps involved in it
Calculate and Print Monthly Paycheck Program Plan Create a class named Paycheck use input methods of the Scanner class to get data into the program Cr... View full answer
Get step-by-step solutions from verified subject matter experts
