Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
14
Task/Loops-Do-while/PL-I/loops-do-while-3.pli
Normal file
14
Task/Loops-Do-while/PL-I/loops-do-while-3.pli
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* Loops/Do-while */
|
||||
do_while_demo:
|
||||
procedure options(main);
|
||||
declare
|
||||
i fixed binary;
|
||||
i = 0;
|
||||
/* first iteration - before the loop */
|
||||
i = i + 1;
|
||||
put skip list(i);
|
||||
do while (mod(i, 6) ~= 0);
|
||||
i = i + 1;
|
||||
put skip list(i);
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue