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
- Host: GitHub
- URL: https://github.com/jonathanlight/fizzbuzz
- Owner: Jonathanlight
- License: mit
- Created: 2024-02-07T11:21:01.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-07T11:46:08.000Z (over 2 years ago)
- Last Synced: 2024-02-07T12:55:28.582Z (over 2 years ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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