Problem Description
Compute the federal income tax due on a taxable income input by the user accorsing to the following table. Enter -1 to end the program.TAXABLE INCOME | ||
From | Through | Tax Due |
0 | 17,850 | 15% |
17,851 | 43,150 | 28% |
43,151 | 89,560 | 33% |
89,561 | ... | 38% |
Input Requirements
Your program first prompts the user to enter their taxable income and then accepts it. When the user enters -1 for input, terminate the program.Output Requirements
Use PRINT to print the results.Report the user's tax due based on the income value input.
Sample Output
Here is a screenshot of my code running.Lab assignment #5 - output
Due Date:
Thursday, 20 December, in class