Assignemnt #115 Quiz

Code

    /// Name: Caelan Dorstad
    /// Period: 6
    /// Program Name: quiz
    /// File Name: quiz.java
    /// Date Finished: 5/5/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

Assignment 10