Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(PLEASE DO THIS FOR PYTHON) Design (pseudocode) that reads from the user annual income, as integer value, and calculates the income tax based on the

(PLEASE DO THIS FOR PYTHON) Design (pseudocode) that reads from the user annual income, as integer value, and calculates the income tax based on the tax table below.

Income

Tax bracket

Annual income <= $50,000

5%

$50,000 < Annual income <= $200,000

10%

$200,000 < Annual income <= $400,000

15%

$400,000 < Annual income <= $900,000

25%

$900,000 < Annual income

35%

The program output should include the entered annual income followed by the applied tax bracket and the tax amount. Document your code and properly label the input prompts and the outputs as shown below.

Note: Taxes are computed based on brackets. For example, if ones income falls in the 25% bracket, the first $50,000 is taxed at 5% rate, the next $150,000 is taxed at the 10% rate, the next $200,000 is taxed at 15% rate, and the remaining income is taxed at the 25% rate. See sample run 3 below.

Sample run 1:

Annual Income: $25,000

Tax Bracket: 5%

Tax due amount: $1250

Sample run 2:

Annual Income: $350,000

Tax Bracket: 15%

Tax due amount: $40,000

Sample run 3:

Annual Income: $800,000

Tax Bracket: 25%

Tax due amount: $147500

Sample run 4:

Annual Income: $1,000,000

Tax Bracket: 35%

Tax due amount: $207,500

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

2 . 1 Compare Support Vector Machine to Artificial Neural Networks

Answered: 1 week ago

Question

Can options that are written qualify for hedge accounting?

Answered: 1 week ago

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago