Skip to content
Snippets Groups Projects

added fizzbuzz implementation

1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
+ 6
1
# Fizz Buzz
# Fizz Buzz
Inigo Reiriz
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".
 
 
- Inigo Reiriz
Loading