99 bottles of beer: Difference between revisions
Content added Content deleted
imported>Rowsety Moid No edit summary |
|||
Line 3,708:
=={{header|EasyLang}}==
<syntaxhighlight lang="easylang">
proc
if num = 1
word$ = "bottle"
▲ word$ = "bottles"
.
.
#
repeat
getPlural i bottle$
print i & " " & pluralWord$ & " of beer on the wall"▼
print i & " " &
print i & " " & bottle$ & " of beer"
print "Take one down, pass it around"
getPlural i bottle$
print "No more bottles of beer on the wall"▼
▲ print i - 1 & " " & pluralWord$ & " of beer on the wall"
print ""
.
</syntaxhighlight>
|