10 REM --HAPPY BIRTHDAY BASIC!--
20 PRINT "How old is BASIC?"
30 LET N = GETCHAR()
40 IF N <> "" THEN GOTO 70
50 PAUSE 100
60 GOTO 30
70 LET M = GETCHAR()
80 IF M <> "" THEN GOTO 110
90 PAUSE 100
100 GOTO 70
110 LET Z = N + M
120 IF Z = "50" THEN GOTO 150
130 PRINT "Wrong!"
140 GOTO 20
150 PRINT "Correct! Happy Birthday BASIC!"
No comments:
Post a Comment