99 bottles of beer: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Minor tidy) |
|||
Line 13,651: | Line 13,651: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">for (i in 99...0) { |
||
System.print("%(i) bottles of beer on the wall,") |
System.print("%(i) bottles of beer on the wall,") |
||
System.print("%(i) bottles of beer,") |
System.print("%(i) bottles of beer,") |
||
System.print("Take one down, pass it around,") |
System.print("Take one down, pass it around,") |
||
System.print("%(i - 1) bottles of beer on the wall.\n") |
System.print("%(i - 1) bottles of beer on the wall.\n") |
||
}</syntaxhighlight> |
}</syntaxhighlight> |
||