No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README.md

README.md

Change - Kata

Description

This program is designed to take an amount of money and break it up into the most efficient way to give back purely change in coins.

If we have $2.76 it will output an array of:

[25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 1]

Assuming we are only working with quarters, dimes, nickels and pennies.

Example

class Change

make_change_for(dollar_amt)

end