Count the coins/0-1: Difference between revisions

Removed superfluous 'the'. Perl entry no longer shows an example but Raku does.
(Added Wren)
(Removed superfluous 'the'. Perl entry no longer shows an example but Raku does.)
Line 13:
<br/>
;Task
Show the result the for the following examples:
 
* &nbsp; coins = [1, 2, 3, 4, 5] and sum = 6
Line 25:
* &nbsp; Show the result of the same examples when the order you take the coins doesn't matter. For instance the answer is 3 when coins = [1, 2, 3, 4, 5] and sum = 6.
 
*&nbsp; Show an example of coins you used to reach the given sum and their indices. See PerlRaku for this case.
 
=={{header|Perl}}==
9,479

edits