Enter the weight: ? 140 Weight is OK
The AND expression will give you "true" because both sides are "true":
WEIGHT >= 136 AND WEIGHT <= 147 140 >= 136 AND 140 <= 147 ------------ ------------- true true ------------------ true
Single taxpayers whose income is $24,000 or more but less than or equal to $58,150 fall into the 28% "tax bracket." Here is a program that tests if a taxpayer falls into this bracket.
' 28% Tax Bracket tester ' PRINT "Enter income" INPUT INCOME IF ______________ ______ _____________ THEN PRINT "28 percent tax bracket" ELSE PRINT "some other tax bracket" END IF ' END
Fill in the three blanks to make a logical expression
that tests if INCOME
is in this tax bracket.