V
Vic 🌮 @VicVijayakumar
Saturday, December 28, 2024 import

Tweet

This is nothing. As part of our application we asked applicants to submit a solution to FizzBuzz in any language of their choice and most applicants failed it. The question is very straightforward: Write a short program that prints each number from 1 to 100 on a new line. For each multiple of 3, print "Fizz" instead of the number. For each multiple of 5, print "Buzz" instead of the number. For numbers which are multiples of both 3 and 5, print "FizzBuzz" instead of the number.