100 by niha

puts:zero,x="one
two
three
four
five
six
seven
eight
nine","ten
eleven
twelve",(y="thir
four
fif
six
seven
eigh
nine").gsub(/$/,'teen'),("twen
"+y).map{|s|s.tr!"u
","";[s+='ty']+x.map{|t|[s,t]*" "}},'one hundred'

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

download

return to the top page