A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
14
Task/Loops-Do-while/Modula-2/loops-do-while.mod2
Normal file
14
Task/Loops-Do-while/Modula-2/loops-do-while.mod2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
MODULE DoWhile;
|
||||
IMPORT InOut;
|
||||
|
||||
VAR
|
||||
i: INTEGER;
|
||||
|
||||
BEGIN
|
||||
i := 0
|
||||
REPEAT
|
||||
InOut.WriteInt(i, 1);
|
||||
InOut.WriteLn;
|
||||
INC(i)
|
||||
UNTIL i MOD 6 = 0;
|
||||
END DoWhile.
|
||||
Loading…
Add table
Add a link
Reference in a new issue