The logical expression is TRUE.
34 > 2 OR 5 = 7 ------ ----- true false -------------- true
because all OR
needs is one TRUE.
To meet building code requirements, outside walls of new houses must be highly insulated. Say that the building code requires outside walls to be insulated with at least 4 inches of fiber glass batting or with at least 3 inches of plastic foam insulation.
Here is a program that asks for the number of inches of
FIBER
and FOAM
and determines if the new house met the
building code:
' Building code tester ' PRINT "Enter inches of fiber glass" INPUT FIBER PRINT "Enter inches of plastic foam" INPUT FOAM IF ___________ ______ __________ THEN PRINT "House meets Code." ELSE PRINT "House does NOT meet code." END IF ' END
Fill in the blanks so that the program works correctly.