RosettaCodeData/Task/Loops-Break/BASIC/loops-break-6.basic

6 lines
96 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
10 LET a = INT (RND * 20)
20 PRINT a
30 IF a = 10 THEN STOP
40 PRINT INT (RND * 20)
50 GO TO 10