An open API service indexing awesome lists of open source software.

https://github.com/jonathanlight/fizzbuzz

FizzBuzz Algo - Mini Test
https://github.com/jonathanlight/fizzbuzz

Last synced: about 1 year ago
JSON representation

FizzBuzz Algo - Mini Test

Awesome Lists containing this project

README

          

## [Algo] Fizzbuzz
### Instructions
This is the very classical Fizz Buzz.

```
Subject

Display numbers between 1 and N by following the rules:

. if number can be divided by 3: display Fizz ;
. if number can be divided by 5: display Buzz ;
. if number can be divided by 3 AND 5 : display FizzBuzz ;
. else: display the number.
```

### Guidelines
Write it in PHP