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 $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
Below is a simple C program that takes the annual salary as input calculates the tax based on the ... View full answer
Get step-by-step solutions from verified subject matter experts
