Assignment #115 and Number Puzzles I

Code

    /// Name: Lauren Baird
    /// Period: 7
    /// Program Name: Number Puzzles I
    /// File Name: NumberPuzzles1.java
    /// Date Finished: 1/28/2016
    
    public class NumberPuzzles1
    {
        public static void main( String[] args )
        {
            System.out.println();
            
            int x, y;
            
            for ( x = 10; x <= 99; x++ )
            {
                for ( y = 10; y <= 99; y++ )
                {
                    if ( x + y == 60 && x - y == 14 )
                    {
                        System.out.println( x + ", " + y );
                    }
                }
            }
            
            System.out.println();
        }
    }  
    

Picture of the output

Assignment #115