Question: 2. Write a C++ program about the following tax system: A family pays no tax if its annual salary is less than $5000. It

2. Write a C++ program about the following tax system: A family pays no tax if its annual salary is less than

2. Write a C++ program about the following tax system: A family pays no tax if its annual salary is less than $5000. It pays a 10% tax if the salary range is from $5,000 through $9,999, a 20% tax if the salary range is from $10,000 through $19,000 and a 30% tax if the salary is $20,000 or more. Enter the annual salary as double from the keyboard and display the annual salary and the tax the family should be paying.

Step by Step Solution

3.54 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is a simple C program that takes the annual salary as input calculates the tax based on the ... 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 Programming Questions!