CSCI 2000B
Spring 1999
Assignment 4
Date: 2/2/99 Due: 2/9/99 20 points
Write, enter, run, debug, and get working a QBASIC program to solve the following problem:
You want to help some people do some financial planning taking into account the state income
tax. Your program should ask the user for the person's name and annual "adjusted gross
income". It should then calculate the total state tax and report the results to the user.
We will assume that all the people are single so will only use the Single Person Tax Rate
Schedule:
If the adjusted gross income is The amount of tax is
not over $ 5,000 $ 0
Over ... $ 5,000 ... but not over $ 5,750 $ 0 .... plus 1% of the amount over ... $ 5,000
Over ... $ 5,750 ... but not over $ 7,250 $ 7.50 .... plus 2% of the amount over ... $ 5,750
Over ... $ 7,250 ... but not over $ 8,750 $ 37.50 .... plus 3% of the amount over ... $ 7,250
Over ... $ 8,750 ... but not over $10,250 $ 82.50 .... plus 4% of the amount over ... $ 8,750
Over ... $10,250 ... but not over $12,000 $142.50 .... plus 5% of the amount over ... $10,250
Over ... $12,000 $230.00 .... plus 6% of the amount over ... $12,000
Turn in a listing of your program and a 3.5 inch disk containing the program. Write your name on the disk and the file name of the program. All assignments are due at the beginning of class with late assignments reduced by 10% per day, up to a maximum reduction of 50%.