Write a program to assist the user with his/her taxes. The program requests the user's taxpayer id (which is a string). Then the user's filing status is prompted for. Valid filing statuses are S for single, M for married, and J for joint. The program will repeatedly prompt for a filing status until the user enters a validone. Then the gross income is prompted for and read (money is a float type value). Gross income must be a positive number. Then the number of exemptions is input by the user, which can be any number from 0 through 10. The program then displays the taxpayer ID, the gross income, the taxable income (which is the gross income minus the standard deduction of $3000 and minus $1000 per exemption), the tax rate (see table below), and the tax due (which the taxable income multiplied by the tax rate). If taxable income is negative, no tax is due. The program will do as many tax computations as the user wishes. Tax rate table: Filing status Gross Income range Tax rate S 0-$5000 15% 5000-20000 22% 20000- 31% M 0-10000 15% 10000-40000 22% 40000- 31% J 0-7000 17% 7000-25000 24% 25000- 33% This program need only be function main. You will need to understand if and while statements as well as choosing appropriate variables to store the necessary data in. You are free to use the additional control statements from chapter 9. Functions (your own) are not needed, nor are arrays. Use consts as appropriate for the meaningful numbers in the program (standard deduction, deduction per exemption, and maximum number of exemptions). Note that the program must ensure that inputted data is within valid ranges or sets of valid values. Do so with error-checking loops for each input value. Your program does not have to handle wrong type of data entry, e.g. it's expecting a number and the user types letters. Put your spaces, blank lines, indentation and comments as you are typing in your program, i.e. don't put them in after you've gotten the program working. Include a short description of the program in a comment header in the program.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
win xp visual C++