10 sys("command.com /c cls")
12 print "give a number"
14 input Num6
16 print "give a number"
18 input Num520 IF (Num5+Num6) = 11 THEN GOTO 50
30 PRINT " sorry your a loser : )"
40 GOTO 60
50 PRINT " your smart woooohooooo"
60 END
Thursday, June 11, 2009
10 sys("command.com /c cls")
12 print "What year of High School are you in"
14 input "1"
16 print "give a number"
18 input "2"
20 input "3"
30 input "4"
40 if (1)= Freshmen then goto 80
50 if (2)= Sophophmore then goto 90
60 if (3)= junior then goto 100
70 if (4)= Senior then goto 110
80 print " your Freshmeat "
90 print " your a softy "
100 print " your a jack in the box"
110 print " your on your way to sucess "
120 end
12 print "What year of High School are you in"
14 input "1"
16 print "give a number"
18 input "2"
20 input "3"
30 input "4"
40 if (1)= Freshmen then goto 80
50 if (2)= Sophophmore then goto 90
60 if (3)= junior then goto 100
70 if (4)= Senior then goto 110
80 print " your Freshmeat "
90 print " your a softy "
100 print " your a jack in the box"
110 print " your on your way to sucess "
120 end
Wednesday, June 10, 2009
Basic Game
10 sys("command.com /c cls")
12 print "give a number"
14 input Num6
16 print "give a number"
18 input Num5
20 IF (Num5+Num6) = 11 THEN GOTO 50
30 PRINT " sorry your a loser : )"
40 GOTO 60
50 PRINT " your smart woooohooooo"
60 END
12 print "give a number"
14 input Num6
16 print "give a number"
18 input Num5
20 IF (Num5+Num6) = 11 THEN GOTO 50
30 PRINT " sorry your a loser : )"
40 GOTO 60
50 PRINT " your smart woooohooooo"
60 END
IF statement
10 sys("command.com /c cls")
20 IF (1+0) = 2 THEN GOTO 50
30 PRINT " The IF statement is false"
40 GOTO 60
50 PRINT " the IF statement is true"
60 END
---------------------------------------------------------------------------------------------
the IF statement is true . It came up true. When i changed the number one to zero it was false. This can be helpful for people who like codes and a calculator programmer.
20 IF (1+0) = 2 THEN GOTO 50
30 PRINT " The IF statement is false"
40 GOTO 60
50 PRINT " the IF statement is true"
60 END
---------------------------------------------------------------------------------------------
the IF statement is true . It came up true. When i changed the number one to zero it was false. This can be helpful for people who like codes and a calculator programmer.
Subscribe to:
Posts (Atom)