Jump to content

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*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.