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,

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.

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 ...

Step by Step Solution

3.26 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ifndef TAXH define TAXH class Tax public Taxdouble00 void ComputeTaxvoi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Prelude to Programming Questions!