///John Mulligan ///period 5 ///Program Name: NumberPuzzles3 ///File Name: NumberPuzzles3.java public class NumberPuzzles3 { public static void main(String[] args) for (int a = 1; a < 10; a++) for (int b = 0; b < 10; b++) for (int c = 0; c < 10; c++) { int number = (100 * a) + (10 * b) + c; int total = (a * a * a) + (b * b * b) + (c * c * c); if (number == total) System.out.println(a + "" + b + "" + c); } }