Assignemnt #115 quiz.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: quiz
    /// File Name: quiz.java
    /// Date Finished: 5/17/2016
    
  public class quiz{
    public static void main(String[] args){
        for ( int a = 0; a < 101; a++)
        {
            for ( int b = 0; b < 101; b++)
            {
                if ( a + b == 60 && a - b == 14 )
                {
                    
                        System.out.println  (a+","+b);
                   
                }
            }
        }
    }
}

   
    

Picture of the output

Pic