Translated by AI — Claude Opus 4.6, Mar 2026

Quiz_3

← Back to problem list

Write a program that prints the numbers from 1 to 100. But for multiples of three, print "Fizz" instead of the number; for multiples of five, print "Buzz"; and for numbers that are multiples of both three and five, print "FizzBuzz".

Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".