|Score:||(3.70 in 223 votes)|
"99 Bottles of Beer in Self (http://research.com.sun/self/) by David Eddyshaw, email@example.com " traits integer _AddSlots: (| bottles = ((= 0 ifTrue: ['No more bottles'] False: [= 1 ifTrue: ['1 bottle'] False: [asString, ' bottles']]), ' of beer') |). 99 downTo: 1 Do: [ | :n | (n bottles, ' on the wall;\n', n bottles, '.\nTake one down; pass it around:\n', (n - 1) bottles, ' on the wall.\n\n') print. ].
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!