RosettaCodeData/Task/FizzBuzz/Icon/fizzbuzz-1.icon

13 lines
286 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
# straight-forward modulo tester
procedure main()
every i := 1 to 100 do
if i % 15 = 0 then
write("FizzBuzz")
else if i % 5 = 0 then
write("Buzz")
else if i % 3 = 0 then
write("Fizz")
else
write(i)
end