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:
Use logical operators to construct Boolean expressions Use selection statements to make choices in a program
a if
b ifelse
c nested ifelse
In the table below are the first three rows of the Federal Income Tax Brackets and Rates
Tax Rate
Single filers
$ to $ $ to $ $ to $
Married filers
$ to $ $ to $ $ to $
Your objective in this lab is to create a calculator that takes two inputs Earned income
Marital status.
and prints the amount of taxed owed for the year based on these two inputs.
Since we are only using of the rows of the 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 DL Your file name should be Lab firstName lastName.py
Extension: This is not part of your lab. Its just for fun.
We used only the first three rows of the 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
