Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Loops-Nested/Run-BASIC/loops-nested.basic
Normal file
16
Task/Loops-Nested/Run-BASIC/loops-nested.basic
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
dim a(10,10)
|
||||
cls
|
||||
for row = 1 TO 10
|
||||
for col = 1 TO 10
|
||||
a(row,col) = INT(20 * RND(1) + 1)
|
||||
next col
|
||||
next row
|
||||
|
||||
for row = 1 to 10
|
||||
for col = 1 to 10
|
||||
print a(row, col)
|
||||
if a(row, col) = 20 then goto [end]
|
||||
next col
|
||||
next row
|
||||
[end]
|
||||
print "At row:";row;" col:";col
|
||||
Loading…
Add table
Add a link
Reference in a new issue