Question: Write a program called TaxCalculator.java that Prompts the user for their taxable income and whether their tax status is single or married. You can assume
Write a program called TaxCalculator.java that
- Prompts the user for their taxable income and whether their tax status is single or married. You can assume a perfect user. Read income as an integer.
- Calculates their income tax according to the table below.
- Outputs their tax amount.
| If your tax status is Single and the taxable income is over | but not over | the tax is | of the amount over |
| $0 | $8,000 | 10% | $0 |
| $8,000 | $32,000 | $800 + 15% | $8,000 |
| $32,000 | $4,400 + 25% | $32,000 | |
| If your tax status is Married and the taxable income is over | but not over | the tax is | of the amount over |
| $0 | $16,000 | 10% | $0 |
| $16,000 | $64,000 | $1,600 +15% | $16,000 |
| $64,000 | $8,800 + 25% | $64,000 |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
