/// Name: Connor Siri /// Period: 7 /// Program Name: Number /// File Name: Number.java /// Date Finished: 3/1/2016 import java.util.Scanner; public class Number { public static void main( String[] args ) throws Exception { Scanner kb = new Scanner (System.in); for ( int x=1; x < 100; x++ ) { for ( int y=1; y < 100; y++ ) { int z = x + y; int w = x - y; if (z == 60 && w == 14 ) { System.out.println("(" + x + "," + y+ ")"); } } } } }