Splitting An Integer By Using Recursive Function.
Murali Reddy
I think, u need to use "while(num>0)" instead of "if(num>0)".
public class Sample