-
Notifications
You must be signed in to change notification settings - Fork 0
FizzBuzz breakdown
Giorgio Garofalo edited this page Jan 24, 2023
·
8 revisions
This sample prints the first 30 cases of FizzBuzz: for each number in range, the output is:
- Fizz if it is divisible by 3;
- Buzz if it is divisible by 5;
- FizzBuzz if it is divisible by both 3 and 5;
- the number itself otherwise.
To do.