Skip to content

Instantly share code, notes, and snippets.

@dominik-hadl
Last active August 11, 2016 10:06
Show Gist options
  • Save dominik-hadl/fa444c67d15466d136954e3ee143160b to your computer and use it in GitHub Desktop.
Save dominik-hadl/fa444c67d15466d136954e3ee143160b to your computer and use it in GitHub Desktop.
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