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 taking
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: Mr nter gross amount: 23560 r.Ahmad Gross Anount: 23568.00 Federal Tax: State Tax: Social Security Tax: Medicare/Medicaid Tax: 3534.00 824.60 1354.70 Pension Plan 1178.00 75.00 Net Pay: $15945.80 Health Insurance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
