Answer:

' Holiday Checker
'
PRINT "What month is it"
INPUT MONTH$
'
PRINT "What date is it"
INPUT DAY
'
IF MONTH$ = "December" AND DAY = 25 THEN
  PRINT "Today is Christmas"
END IF
'
IF MONTH$ = "July" AND DAY = 4 THEN
  PRINT "Today is Independence Day"
END IF
'
END

End of Chapter

That is the end of this chapter. You may wish to review the following. Click on a term that interests you to go to where it was discussed.

The next chapter will put three important ideas together to form more advanced programs:

  1. Sequential Execution
  2. Loops
  3. Decision Making

You have reached the end of the chapter.

go to previous page   go to home page