public static void recursion(int number) { if(number > 0) { recursion(number/10); System.out.printf("%d ", (number%10)); } }