Assignment #113 and Basic Nested Loops

Code

    /// Name: Lauren Baird
    /// Period: 7
    /// Program Name: Basic Nested Loops
    /// File Name: BasicNestedLoops.java
    /// Date Finished:1/27/2016
    
    public class BasicNestedLoops
    {
        public static void main( String[] args )
        {
            System.out.println();
            
            for ( int x=0; x <= 5; x++ )
            {
                for ( int y=0; y <= 5; y++ )
                {
                    System.out.print( "(" + x + "," + y + ") " );
                }
                
                System.out.println();
            }
            
            System.out.println();
        }
    }  
    

Picture of the output

Assignment #113