Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python: If income _ input is in the inclusive range: 0 - 3 9 0 0 0 , output ' 1 2 % income tax

Python: If income_input is in the inclusive range:
0-39000, output '12% income tax bracket'.
39001-89000, output '30% income tax bracket'.
89001-250000, output '36% income tax bracket'.
Otherwise, output 'Invalid input'.
Ex 1: If the input is 25000, then the output is:
12% income tax bracket
Ex 2: If the input is 50000, then the output is:
30% income tax bracket
Ex 3: If the input is 145000, then the output is:
36% income tax bracket
Ex 4: If the input is 263000, then the output is:
Invalid input

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

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago