Kotlinlearncs.online LogoJava
Return to List

Solve: FozzBuzz

Created By: Geoffrey Challen
/ Version: 2021.5.0

Implement a method fozzbuzz that takes no arguments. It prints the numbers from 1 to 124. But for multiples of two print "Fozz" instead of the number and for the multiples of three print "Buzz". For numbers which are multiples of both two and three print "FozzBuzz".

Related Lessons

Stuck? You may find these lessons helpful: