If you’ve never played FizzBuzz, here’s how it goes. You start counting from 1 and every time a number is divisible by 3, you say “Fizz” and if it’s divisible by 5, say “Buzz.”
You need to make a computer program plays FizzBuzz, counting from 1 to 100. The output should look like something below:
For a bonus challenge, you can set up the program is such a way when you want to add a new buzzword (for example “Fuzz” for 7) takes as few lines as possible.