///Name: Joshua Bautista ///Period: 6 ///Date: 6/4/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 + ")"); } } } } }