Waived!

begintabularll hline multicolumn1c Income multicolumn1c Tax for Single

(2 customer reviews)

$5.00

Download button will appear immediately after successful payment.

Full support will be provided with necessary files installation.

Get impeccable customized solution within 24 hours, hassle-free.

View Details
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
Instant
Download

Description

Write a program in Thonny that will calculate 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 $120,000. Dollar amounts are displayed as integers with comma separators. For example, print(f”Deduction: ${deduction:,}”).Hint – it will be one program but build this program in steps.Step 1 – Get Input – You will input wages, taxable interest, unemployement compensation, status (1=single and 2=married) and taxes withheld as integers.Step 2 – Calculate AGI – You are to calculate the adjusted gross income (AGI). It is calculated as wages + interest + unemployement. Output error message if the AGI is above $120,000 and the program stops with no additional output.Step 3 – Identify Deduction Amt – deduction amount based on status: (1) Single=$12,000 or (2) Married=$24,000. Set status to 1 if not input as 1 or 2. Calculate taxable income (AGI – deduction). Set taxable income to zero if negative.Step 4 – Calculate Tax Amount – Calculate tax amount based on exemption and taxable income (see tables below). Tax amount should be stored as a double and rounded to the nearest whole number using round().Step 5 – Calculate Tax Due or Refund – Calculate amount of tax due (tax – withheld). If the amount due is negative the tax payer receives a refund. Output tax due or tax refund as positive values You will be running the program with inputs based on your student number. You will divide your student number by 100 to get the amount for wages for run 1. For run 2, you would add $10,000Eg – my student number is 5921362, then my wages are $59,213 for run 1, and $69,213 for run 2.Run your program twice using the numbers in the table above, but replace the Wages with the wage based on your student number (student number / 100, student number / 100 + 10000).


2 reviews for begintabularll hline multicolumn1c Income multicolumn1c Tax for Single

  1. Yizhe Gao

    Follows the required notes. Right on time. Amazing solution.

  2. Patrick Lorenz

    I am glad I got assistance, I’m am very happy with the service.

Only logged in customers who have purchased this product may leave a review.


You may also like…

Patron Details

Additional information

Your Solution

Product
Quantity
Total
Cart Subtotal $0.00
Order Total $0.00

  • Pay with your credit card.