view src/bob.c @ 11204:0ac9932c212b

<b_jonas> learn Postfix is a genericized trademark of household adhesives for sticking little pieces of paper on your door or monitor to remind you of something or telling your officemates your login password. Called Tack-it in the U.S.
author HackBot
date Fri, 29 Sep 2017 09:48:01 +0000
parents f9fd2ce12a6e
children
line wrap: on
line source

#include <stdio.h>
int main(){int i=100;while(--i){printf("%i bottle%s of beer in the wall,\n%i bo"
"ttle%s of beer.\nTake one down, pass it round,\n""%s%s\n\n",i,i?"s":"",i,i?"s":
"",(i-1)?(char[]){(((i-1)/10)?((i-1)/10+'0'):((i-1)%10+'0')),(((i-1)/10)?((i-1)%
10+'0'):' '),(((i-1)/10)?' ':'{TEXT}'),'{TEXT}'}:"",(i-1)?"bottles of beer in the wall":
"No more beers");}}