Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Loops-While/Oberon-2/loops-while.oberon
Normal file
10
Task/Loops-While/Oberon-2/loops-while.oberon
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
PROCEDURE DivBy2*();
|
||||
VAR i: INTEGER;
|
||||
BEGIN
|
||||
i := 1024;
|
||||
WHILE i > 0 DO
|
||||
Out.Int(i,0);
|
||||
Out.Ln;
|
||||
i := i DIV 2;
|
||||
END;
|
||||
END DivBy2;
|
||||
Loading…
Add table
Add a link
Reference in a new issue