Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

cs55(java project) Project: Computing Tax Problem Description: The United States federal personal income tax is calculated based on filing status and taxable income. There are

image text in transcribed

cs55(java project)

Project: Computing Tax Problem Description: The United States federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly, married filing separately, and head of household. The tax rates vary every year. Table 3.2 shows the rates for 2009. If you are, say, single with a taxable income of $10,000, the first $8,350 is taxed at 10% and the other $1,650 is taxed at 15%. So, your tax is $1,082.5. Table 1 2009 U.S. Federal Personal Tax Rates Marginal Tax Rate 10% 15% 25% 28% 33% 35% Married Filing Jointly or Married Filing Separately Head of Household Qualified Widow(er) SO S8,350 S8,351- S33,950 S33,951 - S82,250 S82,251 -S171,550 S171,551-S372,950 S372,951-+ SO S16,700 S16,701 - $67,900 S67,901 - $137,050 S137,051 -S208,850 S208,851- S372,950 S372,951+ SO S8,350 S8,351 - S33,950 S33,951 S68,525 S68,525 -S104.425 S104.426 - $186,475 S186,476+ SO S11,950 S11,951 S45,500 S45,501 - $117,450 S117,451 - S190,200 S190,201 - S372.950 372,951+ You are to write a program to compute personal income tax. Your program should prompt the user to enter the filing status and taxable income and compute the tax. Enter 0 for single filers,1 for married filing jointly, 2 for married filing separately, and 3 for head of household Here are sample runs of the program: S 1: ample Enter the filing status: Enter the taxable income: 100000 Tax is 21720.0 Sample 2 Enter the filing status: 1 Enter the taxable income: 300339 Tax is 76932.87 Sample 3 Enter the filing status:2 Enter the taxable income: 123500 Tax is 29665.5 Sample 4: Enter the filing status: 3 Enter the taxable income: 454540 Tax is 1565250.7

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

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

4. How has e-commerce affected business-to-business transactions?

Answered: 1 week ago