Count the coins: Difference between revisions

m
→‎{{header|REXX}}: changed a version name.
m (→‎{{header|REXX}}: changed/added comments and whitespace, changed indentations.)
m (→‎{{header|REXX}}: changed a version name.)
Line 1,807:
</pre>
 
===recursive with memoization===
This REXX version is more than a couple of orders of magnitude faster than the 1<sup>st</sup> version when using larger amounts.
<lang rexx>/*REXX program counts the number of ways to make change with coins from an given amount.*/