Last active
August 11, 2016 10:06
-
-
Save dominik-hadl/fa444c67d15466d136954e3ee143160b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 PRINT "WELCOME TO NODES QUIZ" | |
20 PRINT "THIS IS A PROGRAM IN BASIC" | |
30 INPUT "CAN YOU FIGURE OUT WHAT IS WRONG HERE?"; A$ | |
40 IF LEN(A$) = 0 THEN GOTO 30 | |
50 A$ = LEFT$(A$, 1) | |
60 IF A$ = "Y" || A$ = "y" THEN GOTO 80 | |
70 GOTO 30 | |
80 PRINT "NICE CATCH!" | |
90 END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment