JamesCoonce / challange

Ruby test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Challange

Code challenge: Write a function the takes in a cost and payment and outputs an array of the quantities for the denominations to be given in change. [<# of 100s>, <# of 50s>, <# of 20s>, ... <# of pennies>]

Run

bundle install
bundle exec rspec ./spec/challange_spec.rb 

About

Ruby test


Languages

Language:Ruby 97.0%Language:Shell 3.0%