99 bottles of beer: Difference between revisions

Content deleted Content added
racket IS scheme
Line 4,128:
end
say "Aww...no more bottles of beer on the wall... it must be your shout :)"</lang>
 
=={{header|Squirrel}}==
<lang squirrel>
function rec(bottles)
{
if (bottles > 0)
{
print(bottles+" bottles of beer on the wall\n")
print(bottles+" bottles of beer\n");
print("Take one down, pass it around\n");
print(--bottles+" bottles of beer on the wall\n\n")
return rec(bottles);
}
print("No more bottles of beer on the wall, no more bottles of beer\n");
print("Go to the store and get some more beer, 99 bottles of beer on the wall\n");
}
 
rec(99);
</lang>
 
=={{header|Slate}}==