Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Count-in-octal/Modula-2/count-in-octal.mod2
Normal file
13
Task/Count-in-octal/Modula-2/count-in-octal.mod2
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
MODULE octal;
|
||||
|
||||
IMPORT InOut;
|
||||
|
||||
VAR num : CARDINAL;
|
||||
|
||||
BEGIN
|
||||
num := 0;
|
||||
REPEAT
|
||||
InOut.WriteOct (num, 12); InOut.WriteLn;
|
||||
INC (num)
|
||||
UNTIL num = 0
|
||||
END octal.
|
||||
Loading…
Add table
Add a link
Reference in a new issue