spatial-data-discovery / spatial-data-discovery.github.io

Organization website
https://spatial-data-discovery.github.io/
4 stars 0 forks source link

Change Calculator #53

Closed brain-bot closed 3 years ago

brain-bot commented 4 years ago

This script will take a positive integer that represents the total number of cents as its input, and determine the combination with the smallest number of common American coins (quarters, dimes, nickels, and pennies) that would be needed to generate that integer. This script is great for calculating how to make exact change for a given number of cents.

dt-woods commented 4 years ago

Works!