Fizz Buzz Bizz Fuzz


Print the integers from 1 to 100, but for the multiples of 3, print “Fizz” instead and for multiples of 5, print “Buzz”. If the number contains a 3 (for example 23), print “Bizz” and if the number contains a 5, print “Fuzz” (if it contains multiple 3s or 5s, just print one “Bizz” or “Fuzz”). If the number contains more than one of these attributes, print every word (for example 33 prints “FizzBizz”, as 33 is both a multiple of 3 and contains the digit 3).

Remember, to solve this puzzle and appear on the leaderboard, email both your solution and your source code (in any language) to lewiscornwall13@gmail.com. Good luck!!

View all puzzles »

Advertisements