annotate 71ab5gx8 @ 7651:8ca86bf109ca
<moon__> ` mv moonstat bin/moonstat
author |
HackBot |
date |
Tue, 03 May 2016 00:10:45 +0000 |
parents |
b81e1c7ba347 |
children |
|
rev |
line source |
7576
|
1 #include <stdio.h>
|
|
2 int main(){int i=100;while(--i){printf("%i bottle%s of beer in the wall,\n%i bo"
|
|
3 "ttle%s of beer.\nTake one down, pass it round,\n""%s%s\n\n",i,i?"s":"",i,i?"s":
|
|
4 "",(i-1)?(char[]){(((i-1)/10)?((i-1)/10+'0'):((i-1)%10+'0')),(((i-1)/10)?((i-1)%
|
|
5 10+'0'):' '),(((i-1)/10)?' ':'{TEXT}'),'{TEXT}'}:"",(i-1)?"bottles of beer in the wall":
|
|
6 "No more beers");}} |