Created
December 14, 2011 23:28
-
-
Save TheCire/1479088 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/etc/bin/ruby | |
for 1..100 |number| | |
if number mod 15 == 0 then | |
print "FizzBuzz" | |
else if number mod 5 == 0 then | |
print "Fizz" | |
else if number mod 3 == 0 then | |
print "Bizz" | |
else | |
print number | |
end | |
next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment