Jump to content

FizzBuzz: Difference between revisions

150 bytes removed ,  9 months ago
m (→‎{{header|Factor}}: Remove an extra space from the output.)
Line 9,010:
 
=={{header|Quackery}}==
<syntaxhighlight lang="quackery"> [100 times
[ i^ 1+ true
over 3 'mod not echo
overif 3[ modsay 0"fizz" =drop iffalse ]
over 5 mod not [ say "Fizz"
if [ say "buzz" drop ' dropfalse ]
iff echo overelse 5drop mod 0 = if
sp ] [ say "Buzz"
100 fizzbuzz cr</syntaxhighlight>
drop ' drop ]
do
sp ]
cr ] is fizzbuzz ( n --> )
 
say 'First 100 turns in the game of fizzbuzz:' cr cr
100 fizzbuzz cr</syntaxhighlight>
 
 
=={{header|R}}==
1,462

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.