Thursday, December 20, 2012

Lab assignment #5 - taxes

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
FromThroughTax Due
017,85015%
17,85143,15028%
43,15189,56033%
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