What day is it ? Monday What month is it ? August Free Day
"Monday" <> "Thursday" is true,
but "August" <> "August" is false, so the
logical expression is false and
the false branch of the IF statement is executed:
' Admission Checker
'
PRINT "What day is it"
INPUT DAY$ <--- gets the string "Monday"
PRINT "What month is it"
INPUT MONTH$ <--- gets the string "August"
IF DAY$ <> "Thursday" AND MONTH$ <> "August" THEN
------ true ----- ----- false ------
----------- false ---------
PRINT "Charge Admission"
ELSE
PRINT "Free Day" <--- false branch is executed
END IF
'
END
If the user enters "Thursday" and "June" what will the program print?