99 Bottles of Beer by TokusiN

b=" bottle",B=" bottles",n="no more",i=100;main(j){for(;i--;printf("%.d%s%s%s, %1$.d%s%3$s of beer.\n%s, %.d%s%s%4$s%s\n",i,"No more"-!!i,j?B:b," of beer on the wall",n-!!i,i?"Take one down and pass it around":"Go to the store and buy some more",i?j:99,n-!!j,i-2?B:b,"."+!j))j=i-1;}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page