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.
Code Editor
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:20
7 votes
Tags:
Easy
Points:20
36 votes
Tags:
Ad-HocApprovedData StructuresEasyImplementationOpen
Editorial
Login to unlock the editorial
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor
Results
Custom Input
Run your code to see the output