99 bottles of beer: Difference between revisions
Content deleted Content added
Replace println() with print() |
Add lang example |
||
Line 6,573:
Take one down, pass it around
0 bottles of beer on the wall
</syntaxhighlight>
=={{header|Lang}}==
<syntaxhighlight lang="lang">
$i = 99
until($i == 0) {
fn.println($i bottles of beer on the wall)
fn.println($i bottles of beer)
fn.println(Take one down, pass it around)
$i -= 1
if($i > 0) {
fn.println($i bottles of beer)
fn.println()
}else {
fn.println(No more bottles of beer on the wall)
}
}
</syntaxhighlight>
|