Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Loops-Nested/PL-I/loops-nested.pli
Normal file
10
Task/Loops-Nested/PL-I/loops-nested.pli
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
declare x(20,20) fixed; /* 16 August 2010. */
|
||||
x = random()*20 + 1;
|
||||
loops:
|
||||
do i = 1 to hbound(x,1);
|
||||
do j = 1 to hbound(x,2);
|
||||
put (x(i,j));
|
||||
if x(i,j) = 20 then leave loops;
|
||||
end;
|
||||
if x(i,j) = 20 then leave;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue