Taxble Income | Tax Owed |
$0 - $6,000 | $0 |
$6,001 - $20,000 | $0.17 for each $1 over $6,000 |
$20,001 - $50,000 | $2,380 plus $0.30 for each $1 over $20,000 |
$50,001 - $60,000 | $11,380 plus $0.42 for each $1 over $50,000 |
over $60,000 | $15,580 plus $0.47 for each $1 over $60,000 |
Write an F90 program that will ask the user to input
values of (in degrees), n_{1} and n_{2} and computes the value of
(provided the calculation is feasible).
The value of should be printed out in degrees.
In the event that the calculation is not feasible, an error message should
be printed out.
Test your program using the 2 cases