/// Name: Tommy Oyuntseren /// Period: 7 /// Program Name: NumberPuzzle /// File Name: NumberPuzzle.java /// Date: 5/6/16 public class NumberPuzzle { public static void main(String[] args) { for (int x=10; x< 100; x++) for (int y=10; y< 100; y++) { if (x + y == 60) if (x - y == 14 || y - x == 14) System.out.println( x + "," + y); } } }