Guided Practice 6.2: Converting Currencies
Using the HOF strategy, write a function convert-currencies, which takes a conversion factor and a list of values in the first currency, and returns a list of the same values in the second currency. For example, if a Euro is worth US$1.18, then
(convert-currencies 1.18 (list 1 10 100)) = (list 1.18 11.8 118.0)converts a list of values in Euros to their values in US dollars.
Last modified: Wed Sep 6 22:06:52 Eastern Daylight Time 2017