http://gns-ua.livejournal.com/ ([identity profile] gns-ua.livejournal.com) wrote in [personal profile] gns_ua 2011-09-08 10:52 am (UTC)

10 IF A>30 THEN GOTO 100
20 IF A>20 THEN GOTO 150
30 IF A>10 THEN GOTO 200
40 PRINT "A TOO SMALL!"
50 STOP
100 PRINT "A>30"
110 GOTO 300
150 PRINT "A>20"
160 GOTO 300
200 PRINT "A>10"
210 GOTO 300
250 REM "maybe something more"
300 PRINT "DONE"
310 PRINT STOP

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting