Question: The programming language is C++ You are hired to write a program that calculates the monthly paycheck for an employee. The net pay is calculated
The programming language is C++

You are hired to write a program that calculates the monthly paycheck for an employee. The net pay is calculated after taking the following deductions: Social Security Tax: 5.75% State Tax: 3.5% Federal Income Tax: 15% Medicare Medicaid Tax: 2.75% Health Insurance: US$ 75.00 Pension Plan: 5% The program must prompt the user to input employee name and gross amount of the salary. The output should be stored in a file named "Lab3_output.txt. Values should appear with two decimal places. A sample output: John Doe Gross Amount: ............... $3575.00 Social Security Tax: ----... $ 205.56 State Tax: $ 125.13 Federal Tax: ...... $ 536.25 Medicare/Medicaid Tax: ... $ 98.31 Pension Plan: . S 178.75 Health Insurance: .............. $ 75.00 Net Pay: - $2356.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
