Question
Write a program that asks the user for their filing status (single or married) and their taxable income. Then, using the below table, compute the
Write a program that asks the user for their filing status (single or married) and their taxable income. Then, using the below table, compute the tax owed and display the filing status, taxable income, and tax owed.
If the filing status is single and the taxable income is overbut not over the tax isof the amount over$0$9,52510%0$9,526$38,700$952.50 + 12%$9,525$38,701$82,500$4,453.50 +22% $38,700 $82,501unlimited$14,089.50 +24% $82,500 If the filing status is married filing jointly and the taxable income is overbut not overthe tax isof the amount over$0$19,05010%$0$19,051$77,400$1,905 + 12%$19,050$77,401$165,000$8,907 + 22%$77,400$165,001unlimited$28,179 + 24%$165,000
Here are some check figures:
Single filer with $50,000 taxable income owes $6,939.50 tax
Married filer with $25,000 taxable income owes $2,619.00 tax
Married filer with $200,000 taxable income owes $36,579.00 tax
Be sure to follow the Program Submission Guidelines document from last week. Save the program and upload the .py file here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started