Anonymous user
Catalan numbers: Difference between revisions
m
→version 1: mention the number of methods shown in the task's preamble.
(→version 1: added/changed comments, indentations, and whitespace, simplified some subroutines and functions.) |
m (→version 1: mention the number of methods shown in the task's preamble.) |
||
Line 3,066:
=={{header|REXX}}==
===version 1===
All four methods use independent memoization for the computation of factorials.
<lang rexx>/*REXX program calculates and displays Catalan numbers using four different methods. */
parse arg LO HI . /*obtain optional arguments from the CL*/
|