Skip to content

Commit eba4951

Browse files
authored
Add Fizz Buzz in Rexx (#5274)
1 parent e6d123f commit eba4951

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

archive/r/rexx/fizz-buzz.rexx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
do i = 1 to 100
2+
if i // 15 == 0 then
3+
say "FizzBuzz"
4+
else if i // 3 == 0 then
5+
say "Fizz"
6+
else if i // 5 == 0 then
7+
say "Buzz"
8+
else
9+
say i
10+
end

0 commit comments

Comments
 (0)