Anonymous user
Find minimum number of coins that make a given value: Difference between revisions
Find minimum number of coins that make a given value (view source)
Revision as of 05:20, 9 August 2021
, 2 years ago→{{header|REXX}}: changed wording in the REXX section header.
m (use divmod) |
m (→{{header|REXX}}: changed wording in the REXX section header.) |
||
Line 98:
=={{header|REXX}}==
A check was made to
The total number of coins
<lang rexx>/*REXX pgm finds & displays the minimum number of coins which total to a specified value*/
parse arg $ coins /*obtain optional arguments from the CL*/
|