///name: Mark Katz ///period: 6 ///program name: Number Puzzle I ///file name: NP1.java ///date finished: 4/29/16 public class NP1 { public static void main(String[] args) { for (int a = 1; a < 100; a++) { for (int b = 1; b < 100; b++) { int s = a + b; int d = a - b; if (s == 60 && d == 14) { System.out.println("(" + a + "," + b + ")"); } } } } }