After some refactoring, it looks like we should be able to use a method to create a closure that will handle any country and rate for conversion. Can you help me complete the code please?
You'll be completing this challenge using an IDE or code editor locally
on your own computer. Download the code to get started and use the
tools in your IDE or code editor to help you complete it. When you're
ready, upload your finished code to run a series of tests and make sure
everything's in working order!
There is additional information in the README.md.
Local Code Challenges are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.