Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Catalan-numbers/XPL0/catalan-numbers.xpl0
Normal file
9
Task/Catalan-numbers/XPL0/catalan-numbers.xpl0
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
code CrLf=9, IntOut=11;
|
||||
int C, N;
|
||||
[C:= 1;
|
||||
IntOut(0, C); CrLf(0);
|
||||
for N:= 1 to 14 do
|
||||
[C:= C*2*(2*N-1)/(N+1);
|
||||
IntOut(0, C); CrLf(0);
|
||||
];
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue