Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program called TaxCalculator.java that Prompts the user for their taxable income and whether their tax status is single or married. You can assume

Write a program called TaxCalculator.java that

  1. Prompts the user for their taxable income and whether their tax status is single or married. You can assume a perfect user. Read income as an integer.
  2. Calculates their income tax according to the table below.
  3. Outputs their tax amount.
If your tax status is Single and the taxable income is over but not over the tax is of the amount over
$0 $8,000 10% $0
$8,000 $32,000 $800 + 15% $8,000
$32,000 $4,400 + 25% $32,000
If your tax status is Married and the taxable income is over but not over the tax is of the amount over
$0 $16,000 10% $0
$16,000 $64,000 $1,600 +15% $16,000
$64,000 $8,800 + 25% $64,000

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

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions