Question: print ( ' Python only' ) Tax laws are incredibly complicated. To help cope, you will write a program to do some of the heavy
printPython only'
Tax laws are incredibly complicated. To help cope, you will write a program to do some
of the heavy lifting.
Your program should accept as input:
the amount of total income for the year in dollars
the marital status of the user singlemarried
If the user is married, how long have they been married
the current elevation of the user's home address belowatabove sea level
If the user lives above sea level, how many bedrooms are in their house
Your program should produce as output the amount of income tax owed for that year.
The process for calculating the amount of tax owed is as follows:
Yearly Income
If the yearly income is less than $ income tax is of income
If yearly income is greater than or equal to $ but less than or equal to
$ income tax is of income
If yearly income is greater than $ income tax is of income
Marital Status:
If the user is single, no changes are made
If the user is married, yearsmarried
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
