Digital root Fixed by cojna

m@main=do n<-readLn;putStr$"digital_root("++shows n")=";print$9-mod(-n)9;m

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

download

return to the top page