RosettaCodeData/Task/General-FizzBuzz/Ring/general-fizzbuzz.ring

8 lines
226 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
limit = 20
for n = 1 to limit
if n % 3 = 0 see "" + n + " = " + "Fizz"+ nl
but n % 5 = 0 see "" + n + " = " + "Buzz" + nl
but n % 7 = 0 see "" + n + " = " + "Baxx" + nl
else see "" + n + " = " + n + nl ok
next