A simple program that gets the minimum number of coins needed for an amount of USD, using certain coin denominations.
To install and run:
- Install Node
- Clone the repository
git clone https://github.com/stephenwoods/CoinCalculator.git - Switch into the new directory
cd CoinCalculator - Install dependencies
npm install - Run using the command
node index 1.25- dollar signs need a backslash if you use one.
You can run tests using npm test.