@@ -0,0 +1,549 @@
+import java.util.Scanner;%0A%0Aclass GenerateThreeLetterWords %7B%0A    %0A    public static void main(String%5B%5D args) %7B%0A        Scanner scan = new Scanner(System.in);%0A        String base = scan.next();%0A        int length = base.length();%0A%0A        for (int i = 0; i %3C length; i++) %7B%0A            for (int j = 0; j %3C length; j++) %7B%0A                for (int k = 0; k %3C length; k++) %7B%0A                    System.out.print(%22%22 + base.charAt(i) + base.charAt(j) + base.charAt(k) + %22 %22);%0A                %7D%0A            %7D%0A        %7D%0A%0A        System.out.println();%0A    %7D%0A%7D

Solve homework3-problem2: Generate 3-Letter Words