Write a C++ program that calculates and prints the monthly paycheck for an employee. The net pay
Fantastic news! We've Found the answer you've been seeking!
Question:
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 seoretision in order to solve this problem.
Related Book For
Posted Date: