Compute the pay of an employee. Then determine the employee\'s tax bracket. Plea
ID: 3771257 • Letter: C
Question
Compute the pay of an employee. Then determine the employee's tax bracket. Please write it in codeskulptor. Run it and copy and paste your completed program that runs correctly Compute the pay of an employee. Then determine the employee's tax bracket. Please write it in codeskulptor. Run it and copy and paste your completed program that runs correctly Compute the pay of an employee. Then determine the employee's tax bracket. Please write it in codeskulptor. Run it and copy and paste your completed program that runs correctlyExplanation / Answer
def texPay(income, status):
if status == 1
if income <= 18150:
tex = (income / 10)
return tex
elif income > 18150 or income < 73800:
tex = (income / 15)
return tex
elif income > 73,800 or income < 148,850:
tex = (income / 25)
return tex
elif income > 148850 or income < 226850:
tex = (income / 28)
return tex
elif income > 226850 or income < 405100:
tex = (income / 33)
return tex
elif income > 405100 or income < 457600:
tex = (income / 35)
return tex
elif income > 457600:
tex = (income / 39.5)
return tex
if status == 2:
if income <= 9075:
tex = (income / 10)
return tex
elif income > 9075 or income < 36900:
tex = (income / 15)
return tex
elif income > 36900 or income < 89350:
tex = (income / 25)
return tex
elif income > 89350 or income < 186350:
tex = (income / 28)
return tex
elif income > 186350 or income < 405100:
tex = (income / 33)
return tex
elif income > 405100 or income < 406750:
tex = (income / 35)
return tex
elif income > 406750:
tex = (income / 39.5)
return tex
if status == 3:
if income <= 12950 :
tex = (income / 10)
return tex
elif income > 12950 or income <49400 :
tex = (income / 15)
return tex
elif income > 49400 or income < 127550 :
tex = (income / 25)
return tex
elif income > 127550 or income < 206600:
tex = (income / 28)
return tex
elif income > 206600 or income < 405100:
tex = (income / 33)
return tex
elif income > 405100 or income < 432200:
tex = (income / 35)
return tex
elif income > 432200:
tex = (income / 39.5)
return tex
if status == 4:
if income <= 9075 :
tex = (income / 10)
return tex
elif income > 9075 or income <36900 :
tex = (income / 15)
return tex
elif income > 36900 or income < 74425:
tex = (income / 25)
return tex
elif income > 74425 or income < 113425:
tex = (income / 28)
return tex
elif income > 113425 or income < 202550:
tex = (income / 33)
return tex
elif income > 202550 or income < 228800:
tex = (income / 35)
return tex
elif income > 228800:
tex = (income / 39.5)
return tex
a1 = texPay(333)
print a1
a2 = texPay(14333)
print a2
status 1 = single
status 2 = Head of Household
status 3 = Married Filing Separately
status 4 = Married Filing jointly
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.