need help with c++ assignment

    Write a affairs to compute assets tax as follows: First, apprehend the user's assets for the year. Then, affectation the afterward card and ask the user to baddest his or her filing status: 1. Single 2. Affiliated filing separately 3. Affiliated filing jointly 4. Arch of household After the user makes the selection, actuate the bulk of the deduction.  Deduction is the bulk that gets deducted from the assets to access at the taxable income. There are 4 altered deductions that can be made: 1) a accepted deduction, 2) answer for dependents, 3) answer for out of abridged medical expenses, 4) answer for costs due to accessory academy abounding time. 1) For Single status, the accepted answer is $2000, for Affiliated filing alone it's $1500, for Affiliated filing jointly, $2500 and for Arch of household, answer is $3000.  2) Then, ask for and apprehend the cardinal of audience from the user. If filing as Single, add to the deduction, $150 for anniversary dependent, up to a best of 4 dependents. In alternative words, if cardinal of audience is beyond than 4, amusement it as 4 dependents. If Affiliated filing separately, add $125 for anniversary abased up to a best of 4 and if affiliated filing accordingly and arch of household, add $175 to the answer for anniversary dependent, up to a best of 4. 3) Then, ask if the tax payer had any baldheaded medical expenses. If so, add to the answer 10% of any baldheaded (out-of-pocket) medical expenses. 4) Then, ask if the tax payer was a abounding time apprentice during the year. If so, apprehend the bulk of costs apropos to academy and add 10% of those costs to the deduction. Then, compute the taxable assets by adding the absolute deductions from his or her income. Finally, compute the tax. Anyone with a taxable assets of beneath than $10,000 pays no taxes. For the rest, the aboriginal $20,000 of the assets has a tax bulk of 10%, the abutting $30,000 gets burdened at 15%, the abutting $50,000 at 20%, and annihilation aloft $100,000 at 30%. Remember there are 4 tax brackets and the allotment of taxes is altered for anniversary bracket. So, if the assets spans over assorted brackets (anything over $20,000), anniversary allotment of the assets is burdened at a altered percentage.  For addition with assets of $13,000, the tax is artlessly 10% of that or $1,300. But, for addition who fabricated $30,000, it would be 10% of $20,000 or $2,000 additional 15% of the actual $10,000 or $1,500, authoritative it $3,500. For addition who had taxable assets of $125,000, her aboriginal $20,000 gets burdened at 10% ($2,000), additional 15% of $30,000 ($4,500), additional 20% of $50,000 ($10,000), and the actual $25,000 at 30% ($7,500) for a absolute tax bulk of $24,000. For addition who fabricated $7,999 it would be 0, but for addition who fabricated $8,000, it's $800, and so on. Print the bulk of taxes due in bill architecture (2 decimal places). The afterward is a sample alternation amid the user and the program: Enter absolute assets for the year (including wages, tips, bonuses, interest, winnings, etc.): $50000 What was your filing cachet during the year? 1. Single 2. Affiliated filing separately 3. Affiliated filing jointly 4. Arch of household Enter one of the aloft choices: 3 Enter cardinal of audience (excluding yourself): 3 Did you accept any baldheaded medical expenses? [y/n]: y Enter bulk of abroad medical costs (copay, deductible, patient's portion): $1000 Were you a abounding time apprentice during the year? [y/n]: y Enter bulk of academy costs (excluding any banking aid received): $500 The bulk of your assets tax is $6023.75 Press any key to continue. Another example: Enter absolute assets for the year (including wages, tips, bonuses, interest, winnings, etc.): $20000 What was your filing cachet during the year? 1. Single 2. Affiliated filing separately 3. Affiliated filing jointly 4. Arch of household Enter one of the aloft choices: 1 Enter cardinal of audience (excluding yourself): 0 Did you accept any baldheaded medical expenses? [y/n]: n Were you a abounding time apprentice during the year? [y/n]: n The bulk of your assets tax is $1800.00

Order a unique copy of this paper

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
Top Academic Writers Ready to Help
with Your Research Proposal
Order now and a get a 25% discount with the discount code: COURSEGUYOrder Now!
+ +