Created
April 2, 2020 08:41
-
-
Save tatut/06ad4925342f584d49fb6b850a5bbd06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a short program that returns a sequence of numbers from 1 to 100. | |
- For each multiple of 3, return "Fizz" instead of the number. | |
- For each multiple of 5, return "Buzz" instead of the number. | |
- For numbers which are multiples of both 3 and 5, return "FizzBuzz" instead of the number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment