Write a program that displays the income tax due in the state of Euphoria on a taxable

Question:

Write a program that displays the income tax due in the state of Euphoria on a taxable income (in whole dollars) entered by the user, according to the tax table shown in Table 11.1.

Taxable Income From To Tax Due $0 $49,999 $0 + 5% of amount over $0 $50,000 $99,999 $2,500 + 7% of amount over $50,000 $100,000 $6,000 + 9% of amount over $100,000 ...

The program should allow the user to enter a series of incomes, terminated by 0. Use a class called Tax, with attributes Income and TaxDue and methods that include ComputeTax() and access methods (SetIncome(), GetIncome(), SetTaxDue(), and GetTaxDue()) for each of the attributes.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: