@@ -0,0 +1,430 @@
+import java.util.Scanner;%0Apublic class ProblemFour %7B%0A    public static void main(String%5B%5D args) %7B%0A%09Scanner kbd = new Scanner(System.in);%0A%0A%09System.out.print(%22Please input a number to be summed: %22);%0A%09long i = kbd.nextInt();%0A%09System.out.println(%22The sum of the digits is %22 + sumDigits(i));%0A    %7D%0A%0A    public static int sumDigits(long n) %7B%0A%09if(n%3E0) %7B%0A%09    return sumDigits((n-n%2510)/10) + (int)n%2510;%0A%09%7D else %7B%0A%09    return 0;%0A%09%7D%0A    %7D%0A%7D

solve problem 4