A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
14
Task/Loops-For/Modula-2/loops-for.mod2
Normal file
14
Task/Loops-For/Modula-2/loops-for.mod2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
MODULE For;
|
||||
IMPORT InOut;
|
||||
|
||||
VAR
|
||||
i, j: INTEGER;
|
||||
|
||||
BEGIN
|
||||
FOR i := 1 TO 5 DO
|
||||
FOR j := 1 TO i DO
|
||||
InOut.Write('*');
|
||||
END;
|
||||
InOut.WriteLn
|
||||
END
|
||||
END For.
|
||||
Loading…
Add table
Add a link
Reference in a new issue