Fizz Buzz Test
Practice
3.2 (90 votes)
Ad Hoc
Easy
Problem
41% Success 20749 Attempts 20 Points 5s Time Limit 256MB Memory 1024 KB Max Code
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”. Print a new line after each string or number.
Submissions
Please login to view your submissions
Similar Problems
Points:20
7 votes
Tags:
Easy
Points:20
36 votes
Tags:
Ad-HocApprovedData StructuresEasyImplementationOpen
Editorial