Question: C++ programming: Write a program that calculates the federal tax that a person needs to pay at the end of the year. The tax is
C++ programming:
Write a program that calculates the federal tax that a person needs to pay at the end of the year. The tax is calculated based on the persons annual salary (assume it is an integer) according to the following:
-The tax is worth 6% of the persons salary if the salary is less than $45000;
- 10% if the salary is more than $45000 but less than or equal to $75000;
-12% if the salary is more than $75000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
