Boolean Expressions
11. Tax Bracket
Answer:
How heavy is the boxer? 140
In range!
The AND operator gives true because both sides are true:
weight >= 136 && weight <= 147
140 >= 136 && 140 <= 147
------------ -----------
true true
-----------------
true
Tax Bracket
Tax Bracket
// IRS Weigh-in |
Question 11:
Fill in the blank to test if the income is within this tax bracket.