function bottles(n) { if (n == 0) return "no bottles"; if (n == 1) return "1 bottle"; return i + " bottles"; } for (i=100; i> 0; ) { display(bottles(n: i),' of beer on the wall, ', bottles(n: i),' of beer.\n'); display('Take one down and pass it around,\n'); display(bottles(n: --i), ' of beer on the wall.\n\n'); }