Question: C++ Problem 4: Monthly Paycheck Write a C++ program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after
C++ Problem 4: Monthly Paycheck 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 scrten to have two decimal places. Hint: you can use sethu and setprecision in order to solve this problem. Sample input/output: ter employee nane: Hr.Ahnad ter gross anount: 23568 r.Ahnad Federal Tax: State Tax: Social Security Tax: Gross Anount: $23560.08 3534 .0 824.60 13 1354.7 Medicare/Medicaid Tax Health Insurance 647.90 1178.00 75.00 Net Pay: $15945.80 Pension Plan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
