Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Multiplication-tables/XPL0/multiplication-tables.xpl0
Normal file
14
Task/Multiplication-tables/XPL0/multiplication-tables.xpl0
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
include c:\cxpl\codes;
|
||||
int X, Y;
|
||||
[Format(4, 0);
|
||||
Text(0, " |"); for X:= 1 to 12 do RlOut(0, float(X));
|
||||
CrLf(0);
|
||||
Text(0, " --+"); for X:= 1 to 12 do Text(0, "----");
|
||||
CrLf(0);
|
||||
for Y:= 1 to 12 do
|
||||
[RlOut(0, float(Y)); ChOut(0, ^|);
|
||||
for X:= 1 to 12 do
|
||||
if X>=Y then RlOut(0, float(X*Y)) else Text(0, " . .");
|
||||
CrLf(0);
|
||||
];
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue