Jump to content

99 bottles of beer: Difference between revisions

m
Line 3,708:
=={{header|EasyLang}}==
<syntaxhighlight lang="easylang">
procfunc$ getPluralbottle num . word$ .
word$ = "bottles"
if num = 1
word$ =return "bottle"
.
word$ =return "bottles"
.
#
i = 99
repeat
getPluralprint i & " " & bottle$ i & " of beer on the wall"
print i & " " & bottle$ i & " of beer on the wall"
print i & " " & bottle$ & " of beer"
print "Take one down, pass it around"
i -= 1
until i = 0
getPluralprint i & " " & bottle$ i & " of beer on the wall"
print i & " " & bottle$ & " of beer on the wall"
print ""
.
2,083

edits

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