You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
198 B
8 lines
198 B
5 years ago
|
# 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)
|
||
|
)
|