/* -------------------- 99 bottles of beer --------------------
* (C) 2007 Andrea Remondini <http://www.andrearemondini.com>
* -----------------------------------------------------------*/
#include <stdio.h>
void main () {
char * s="\0\bNo more\0\0\bno more\0 bottle\0s of beer\0 on the wall\0Take one down and pass it around\0Go to the store and buy some more\0";
int i;
for (i=99; i>=0; i--)
printf ("%d%s%s%s%s, %d%s%s%s.\n%s, %d%s%s%s%s.\n\n",i,&s[(i==0)],&s[20],&s[28+(i==1)],&s[38],i,&s[10+(i==0)],&s[20],&s[28+(i==1)],&s[((!i)?84:51)],(!i)?99:i-1,&s[10+(i==1)],&s[20],&s[28+(i==2)],&s[38]); }