14 6 homework 2 p3 income tax form program specifications write a prog
14.6 Homework 2 P3: Income tax form
Program Specifications Write a program to calculate U.S. income tax owed given wages, taxable interest, unemployment compensation,
status (single or married) and taxes withheld. Taxpayers are only allowed to use this short form if adjusted gross income (AGI) is less than
$120000. Dollar amounts are displayed as integers with no comma separators. For example, printf("Deduction: $%d\n",
Note: this program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only
a portion of tests pass after each step but confirm progress.
Step 1 (2 pts). Input wages, taxable interest, unemployment compensation, status (1-single and 2-married) and taxes withheld as
integers. Calculate and output AGI (wages + interest + unemployment). Output error message if AGI is above $120000 and the program
stops with no additional output. Submit for grading to confirm two tests pass.
Ex: If the input is:
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.