Skip to content

Instantly share code, notes, and snippets.

@qrg
Last active March 31, 2018 21:14
Show Gist options
  • Select an option

  • Save qrg/369269270c92e50ba3613ecbf2907f14 to your computer and use it in GitHub Desktop.

Select an option

Save qrg/369269270c92e50ba3613ecbf2907f14 to your computer and use it in GitHub Desktop.
10 INPUT "What is your name: "; U$ 20 PRINT "Hello "; U$ 30 INPUT "How many stars do you want: "; N 40 S$ = "" 50 FOR I = 1 TO N 60 S$ = S$ + "*" 70 NEXT I 80 PRINT S$ 90 INPUT "Do you want more stars? "; A$ 100 IF LEN(A$) = 0 THEN GOTO 90 110 A$ = LEFT$(A$, 1) 120 IF A$ = "Y" OR A$ = "y" THEN GOTO 30 130 PRINT "Goodbye "; U$ 140 END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment