Giter Site home page Giter Site logo

dojo-js-fizzbuzz's Introduction

Dojo Fizzbuzz

EN

Use

To install: npm install.

To test if your code works: npm test.

Instructions

Write a program that returns:

  1. "fizz" in the case where the number passed as a parameter is a multiple of 3.
  2. "buzz" in the case where the number passed in parameter is a multiple of 5
  3. "fizzbuzz" in the case where the past number is a multiple of both 3 and 5
  4. The number in the case where the latter is neither a multiple of 3 nor a multiple of 5

FR

Utilisation

Pour installer : npm install.

Pour tester si votre travail est bon : npm test.

Énoncé

Écrire un programme qui renvoie :

  1. "fizz" dans le cas où le nombre passé en paramètre est un multiple de 3
  2. "buzz" dans le cas où le nombre passé en paramètre est un multiple de 5
  3. "fizzbuzz" dans le cas où le nombre passé est à la fois un multiple de 3 et de 5
  4. Le nombre dans le cas où ce dernier n’est ni un multiple de 3 ni un multiple de 5

dojo-js-fizzbuzz's People

Contributors

aebrathia avatar ashleighmorehattia 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.