Created
April 1, 2019 10:41
-
-
Save jyothu/b8ddd1940a2c227b53dc39446f7a3754 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Given an amount like 57 cents | |
# return how many of each denomination needed to make that total | |
# these are the denominations: | |
# 1 cent, 5 cent, 10 cent, 25 cent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment