Assignment #115 and Number Puzzles I

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Number Puzzles I
    ///File Name: Puzzle1.java
    ///Date Finished: 12/10/15
        
    public class Puzzle1
    {
        public static void main ( String[] args )
        {
            for ( int x = 1; x < 60; x++)
            {
                for ( int y = 1; y < 60; y++)
                {
                    int s = x + y; //s for sun
                    int d = x - y; //d for difference
                    if ( s == 60 && d == 14 )
                        System.out.println( "(" + x + "," + y + ") ");
                }
            }
        }
    }
    

Picture of the output

115