Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN PYTHON: ComputeTax.py, gives a program to compute tax. Write a function for computing tax using the following header: def computeTax(status, taxableIncome): Use this function

IN PYTHON: ComputeTax.py, gives a program to compute tax. Write a function for computing tax using the following header:

def computeTax(status, taxableIncome):

Use this function to write a program that prints a tax table for taxable income from $50,000 to $60,000 with intervals of $100 for all four statuses, as follows (sample uses $50 increments instead of $100.):

Taxable Single Married Married Head of Income Joint Separate a House 50000 8688 6665 8688 7352 50050 8700 6673 8700 7365 ... 59950 11175 8158 11175 9840 60000 11188 8165 11188 9852

Tax rates are dependent on income and filing status. Here's the tax rate per situation::

tax rate | Single | Married, filing jointly | Married, filing separate | Head of Household

10% $0 $8,350 $0 $16,700 $0 $8,350 $0 $11,950
15% $8,351 $33,950 $16,701 $67,900 $8,351 $33,950 $11,951 $45,500
25% $33,951 $82,250 $67,901 $137,050 $33,951 $68,525 $45,501 $117,450
28% $82,251 $171,550 $137,051 $208,850 $68,526 $104,425 $117,451 $190,200
33% $171,551 $372,950 $208,851 $372,950 $104,426 $186,475 $190,201 $372,950

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions