Question: How can this be solved? Write a C++ program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after
How can this be solved?

Write a C++ 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: 5.75% Medicare/Medicaid Tax: 2.75% Pension Plan : 5% Health Insurance: $75.00 The program should prompt the user to input the gross amount (of salary) and the employee name. Format your output on the screen to have two decimal places. Hint: you can use setw and setprecision in order to solve this problem. Sample input / output: nter employee nane nter gross anount: 23560 r.Ahmad Gross Anount: 23568.08 Federal Tax: State Tax: Social Security Tax: Medicare/Medicaid Tax: Pension Plan: Health Insurance: 3534.0O 824.60 1354.70 647.9 1178.00 75.00 Net Pay: $15945.80
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
