Assignment 115

public class NumberPuzzle
{
    public static void main( String[] args )
    {
        for (int x = 10; x <= 99; x++)
        {
            for (int y = 10; y <= 99; y++)
            {
                if (x+y==60 && y-x==14)
                    System.out.println(x+ " " +y);
            }
        }
    }
}