Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning Basic Programming

Name: Anonymous 2009-08-07 6:23

Lets all band together to learn how to program for those who dont. Basic is a language that we can all agree on to learn. We can all post code and collaborate until we can program. Ill start!

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

Name: Anonymous 2009-08-07 8:01

10 *Grabs Dick*
20 GOTO 10
30 END

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List