I don't have a lot to say, but this is my little bit.

Sunday, July 17, 2011

Fizzbuzz

for(int var = 0; ++var <= 100; (var%15 == 0) ? print "fizzbuzz" : (var%5 == 0) ? print "buzz" : (var%3 == 0) ? print "fizz" : print var)
;

No comments:

Post a Comment