Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions