Question: Write a java program that computes the income tax for an individual. The program should ask the user to enter the total taxable income of

Write a java program that computes the income tax for an individual. The program should ask the user to enter the total taxable income of the year. The program then uses the tax bracket (as shown below) to calculate the tax amount: 10% on taxable income from $0 to $9,325, plus 15% on taxable income over $9,325 to $37,950, plus 25% on taxable income over $37,950 to $91,900, plus 28% on taxable income over $91,900 to $191,650, plus 33% on taxable income over $191,650 to $416,700, plus 35% on taxable income over $416,700 to $418,400, plus 39.60% on taxable income over $418,400 * The program should display the total tax due to the user. *The program should show an error message if the user enters a negative number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!