Giter VIP home page Giter VIP logo

java-fizzbuzz's Introduction

FizzBuzz

  • Fork le dépôt GitHub.
  • git add, git commit et git push directement sur le dépôt autant que vous le voulez.
  • Ouvrir une Pull request, vous devez obtenir un voyant vert sur le serveur Travis CI pour valider l'exercice !

Règles

  • afficher "fizz" si l'entier est un multiple de 3 (et n'est pas un multiple de 5)
  • afficher "buzz" si l'entier est un multiple de 5 (et n'est pas un multiple de 3)
  • afficher "fizzbuzz" si l'entier est un multiple de 3 et de 5
  • afficher le nombre si l'entier est n'est pas un multiple de 3 ou 5

Exemples //à modif

fizzbuzz(2) => 2
fizzbuzz(5) => "buzz"
fizzbuzz(6) => "fizz"
fizzbuzz(11) => 11
fizzbuzz(30) => "fizzbuzz"

GO, GO, GO !

Que la force soit avec vous !

Pour allez plus loin..// à modif

Jeter un coups d'oeil à : https://github.com/jasmine/jasmine (T.D.D.)

java-fizzbuzz's People

Contributors

nicolashov 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.