@@ -0,0 +1,567 @@
+import java.util.Scanner;%0A%0Apublic class ProblemFive %7B%0A    public static void main(String%5B%5D args) %7B%0A%09Scanner kbd = new Scanner(System.in);%0A%0A%09System.out.print(%22Input a word: %22);%0A%09String word = kbd.next();%0A%0A%09System.out.println(%22There are %22 + countUpper(word) + %22 uppercase letters in that word.%22);%0A    %7D%0A%0A    public static int countUpper(String word) %7B%0A%09if(word.length() %3E0) %7B%0A%09    if(Character.isUpperCase(word.charAt(0))) %7B%0A%09%09return countUpper(word.substring(1)) + 1;%0A%09    %7D else %7B%0A%09%09return countUpper(word.substring(1)) + 0;%0A%09    %7D%0A%09%7D else %7B%0A%09    return 0;%0A%09%7D%0A    %7D%0A%7D

solve Problem five