Download and view my resume (PDF)

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