annotate src/bob.c @ 11953:dcbbe7c31186
draft
<kmc> addquote <LKoen> kmc: it\'s 3am and instead of going to bed I just spent a looot of time reading a long article about circadian rythms and melatonin
author |
HackEso <hackeso@esolangs.org> |
date |
Thu, 26 Sep 2019 01:03:26 +0000 |
parents |
f9fd2ce12a6e |
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");}} |