Digital root Fixed by teebee

import java.util.*;enum D{D;System z;int n;{for(Scanner r=new Scanner(z.in);r==r;z.out.println("digital_root("+n+")="+(~-n%9+1)))n=r.nextInt();}}

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

download

return to the top page