~statianzo/sevenlangs

sevenlangs/io/fizzbuzz.io -rw-r--r-- 198 bytes
2fcd4511Jason Staten day one logic style 2 years ago
                                                                                
1
2
3
4
5
6
7
# Officially an Io programmer
for(n, 1, 100,
  if(n % 15 == 0) then("fizzbuzz" println) \
  elseif(n % 3 == 0) then("fizz" println) \
  elseif(n % 5 == 0) then("buzz" println) \
  else(n println)
)