Question: FIRST WRITE AN ALGORITHM! (use a do-while) In one state, single residents are subject to the following income tax: Taxable Income Amount of Tax charged
FIRST WRITE AN ALGORITHM!
(use a do-while) In one state, single residents are subject to the following income tax:
| Taxable Income | Amount of Tax charged |
| Less than $2,250 | 1% of income |
|
|
|
| $2,250 - $5,250 | $37.50 + 3% of amount over $2,250 |
|
|
|
| $5,250 - $10,000 | $142.50 + 5% of amount over $5,250 |
|
|
|
| $10,000 and above | $230.00 + 7% of amount over $10,000 |
In C, write a program that will calculate the tax charged when the user enters an income amount.
Your program should allow the user to make as many calculations as he wishes and it will stop when the user enters the value -1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
