/// Name: Georgi Atanasov /// Period: 5 /// Program Name: Number Puzzle I /// File Name: NumberPuzzle1.java /// Date Finished: 5/7/2016 public class NumberPuzzle1 { public static void main(String[] args) { for (int a = 10; a <= 50; a++) { for (int b = 10; b <= 50; b++) { if ( a+b == 60 && b-a == 14 ) System.out.println("\n " + a + " " + b ); } } System.out.println(); } }