GithubHelp home page GithubHelp logo

christinang317 / kwk-l1-intro-ruby-code-challenge-4-teachers-l1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbribot/kwk-l1-intro-ruby-code-challenge-4-teachers-l1

0.0 1.0 0.0 6 KB

License: Other

Ruby 100.00%

kwk-l1-intro-ruby-code-challenge-4-teachers-l1's Introduction

Least Coins Challenge

In the least_coins.rb file, write a method called least_coins.

Given a number of cents as an argument, the method should return a hash with the least number of coins that it would take to make that amount. For example, running least_coins(29) should return {:quarters => 1, :dimes => 0, :nickels => 0, :pennies => 4}.

Run learn to check your answer!

KWK-L1 Least Coins Challenge

kwk-l1-intro-ruby-code-challenge-4-teachers-l1's People

Contributors

danielseehausen avatar christinang317 avatar aviflombaum avatar dfenjves avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.