Assignemnt #116

Code

          /// Name: Holden Ganch
          /// Period: 7
          /// Program Name:  sixtieth Program
          /// File Name: EnterPIN.java
          /// Date Finished: 10/5/2015


    
                   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+ ")");
				
				}
            
			}
    }
    }
		
	} 



    

Picture of the output

Assignment 116