Question: Show it on repl.it PARTI 2. The program will first compute the tax you owe based on your income. 3. User is prompted to enter

Show it on repl.it PARTI 2. The program will first compute theShow it on repl.it

PARTI 2. The program will first compute the tax you owe based on your income. 3. User is prompted to enter income. 4. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income - 45000) $90,001 - $140,000 = 15750 +0.26 x (income - 90000) $140,001 - $200,000 = 28750 + 0.29 x (income - 140000) Greater than $200,000 = 46150 + 0.33 X (income - 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). 5. Tax is displayed on the screen. PART II 6. Program will then find the largest of three numbers using nested if-else statements. 7. User is prompted to enter three numbers. 8. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!