Assignment #113 and Basic Nested Loops

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Basic Nested Loops
    ///File Name: NestedLoops.java
    ///Date Finished: 12/9/15
        
    public class NestedLoops
    {
        public static void main (String[] args )
        {
            for ( int n = 0; n <= 5; n++)
            {
                for ( int x = 0; x <= 5; x++)
                {
                    System.out.print( "(" + n + "," + x + ") " );
                }
                System.out.println();
            }
        }
    }

    

Picture of the output

113