Code:
def main():
gross_income=int(input("Enter Gross Income"))
tax_paid=float(input("Enter Tax Paid"))
number_dependents=int(input("Number of Dependents"))
cost_dependent=number_dependents*750
income=gross_income-cost_dependent
taxnet_income=income*0.05
total_tax=cost_dependent+taxnet_income
taxDue(tax_paid,total_tax)
def taxDue(paid,actual):
refund=paid-actual
owe=actual-paid
if paid > actual:
print("Expected refund in the amount of",refund)
else:
if paid < actual:
print ("Send check for the amount",owe)
main()
Comment