100 by 51b

s="zero\x00\x00one\x00\x00\x00two\x00\x00\x00three\x00four\x00\x00five\x00\x00six\x00\x00\x00seven\x00eight\x00nine\x00\x00ten\x00\x00\x00eleventwelve";n;main(){for(;n<101;puts(""),n++)printf(n>99?"one hundred":n<13?"%.6s":n<20?"%.5steen":n%10?"%.5sty %s":"%.5sty",n<13?s+n*6:n-14?"twen\x00thir\x00for\x00\x00fif\x00\x00six\x00\x00seveneigh\x00nine"+5*(n<20?n-12:n/10-2):s+24,s+n%10*6);}

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

download

return to the top page