Question: Write a program change :: Int -> [Int] that returns change in EURO coins for any positive integer, in the least number of coins. Measure
Write a program change :: Int -> [Int] that returns change in EURO coins for any positive integer, in the least number of coins. Measure the values of the EURO coins 0.01, 0.02, 0.05, 0.10, 0.20, 0.50, 1, 2 in EURO cents, as 1, 2, 5, 10, 20, 50, 100, 200. Use pack for inspiration.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
