100 by hakusui

enum _{_;int i;{for(String[]a="zero,one,two,three,four,five,six,seven,eight,nine,ten,eleven,twelve,thir,four,fif,six,seven,eigh,nine,twen,thir,for".split(",");i<101;i++)System.out.println(i<13?a[i]:i<20?a[i]+"teen":i>99?"one hundred":a[(i/10+3)%8+15]+"ty"+(i%10>0?" "+a[i%10]:""));}}

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

download

return to the top page