/// Name: Koosha Kimelman /// Period: 7 /// Program Name: Number Puzzles I /// File Name: NumberPuzzle.java /// Date Completed: 4/20/16 public class NumberPuzzle { public static void main(String[] args) { for (int x = 1; x <= 60; x++) { for (int n = 1; n <= 60; n++) { if ((x + n == 60) && ((x - n == 14) || (n - x == 14))) System.out.println(x + " and " + n); } } } }