' IF-4.BAS
' This program demonstrates the ELSE statement.

CLS

INPUT "Enter a number between 1 and 5:  ", guess%
PRINT
IF guess% = 3 THEN PRINT "That's right!!" ELSE PRINT "Sorry!"
PRINT "Thanks for playing!"

