Question: In this lab, we will learn to: 1 . Use logical operators to construct Boolean expressions 2 . Use selection statements to make choices in

In this lab, we will learn to:
1. Use logical operators to construct Boolean expressions 2. Use selection statements to make choices in a program
(a) if
(b) if-else
(c) nested if-else
In the table below are the first three rows of the 2023 Federal Income Tax Brackets and Rates
Tax Rate 10%12%22%
Single filers
$0 to $11,000 $11,001 to $44,725 $44,726 to $95,375
Married filers
$0 to $22,000 $22,001 to $89,450 $89,451 to $190,750
Your objective in this lab is to create a calculator that takes two inputs 1. Earned income
2. Marital status.
and prints the amount of taxed owed for the 2023 year based on these two inputs.
Since we are only using 3 of the 7 rows of the 2023 Federal Income Tax Brackets and Rates, it is possible to make too much income for this calculator to work properly. If thats the case, inform the user of such.
There are some example outputs on the next page.
These are your checkout criterion. Show me.
After I give you the thumbs up, upload your .py file to D2L. Your file name should be Lab3 firstName lastName.py
Extension: (This is not part of your lab. Its just for fun.)
We used only the first three rows of the 2023 Federal Income Tax Brackets and Rates. Extend your program
to include the entire table. click here to view the entire table.
Additionally, filers will receive a standard deduction based on their filing status. This can be viewed at the
link above. Incorporate the standard deduction into your program. 1

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!