A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
18
Task/Loops-Nested/Euphoria/loops-nested.euphoria
Normal file
18
Task/Loops-Nested/Euphoria/loops-nested.euphoria
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
sequence a
|
||||
a = rand(repeat(repeat(20, 10), 10))
|
||||
|
||||
integer wantExit
|
||||
wantExit = 0
|
||||
|
||||
for i = 1 to 10 do
|
||||
for j = 1 to 10 do
|
||||
printf(1, "%g ", {a[i][j]})
|
||||
if a[i][j] = 20 then
|
||||
wantExit = 1
|
||||
exit
|
||||
end if
|
||||
end for
|
||||
if wantExit then
|
||||
exit
|
||||
end if
|
||||
end for
|
||||
Loading…
Add table
Add a link
Reference in a new issue