Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Tax Calculator program Introduction / Problem Statement Write a python program that calculate tax refund based on steps below, use only functions no objects. Step 1. Calculate the standard deduction....

1 answer below »
Tax Calculator program
Introduction / Problem Statement
Write a python program that calculate tax refund based on steps below, use only functions no objects.
Step 1. Calculate the standard deduction. For this problem we are going to assume only two marital status positions. If you are single, you get a $12,200 standard deduction. If you filed ma
ied, you get a $24,400 standard deduction.
Step 2. Calculate the adjusted gross income. To calculate your taxes owed, you take the wages and subtract the standard deductions. This gives you your adjusted gross income (AGI). 
Step 3. Calculate the tax refund or taxes owed. You then use the tables below with the AGI to calculate the taxes.  If the taxes are greater than what was paid, you owe taxes. If the taxes were less, you get a refund.
Example
First Name = Kevin
Last Name = Martin
Total Wages = 50000
Taxes Paid = 30000
Marital Status = single
Kevin Martin’s refund is going to be $25,658.00!
Example
First Name = Sarah
Last Name = Hayland
Total Wages = 25000
Taxes Paid = 1000
Marital Status = single
Sarah Hayland still owes $342.00 in taxes!
Answered 1 days After Apr 09, 2021

Solution

Vibhav answered on Apr 10 2021
165 Votes
taxCalculato
1.JPG
taxCalculato
taxCalculator.py
firstName = input("Enter first name: ")
lastName = input("Enter last name: ")
totalWages = int(input("Enter total wages: "))
paid = int(input("Enter taxes paid: "))
status = input("Enter marital status (single/ma
ied): ")
if status=="single":
deduction = 12200
else:
deduction = 24200

agi = totalWages - deduction
#print(agi)
if status=="single":
if agi<9875:
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here