Assignment #116 and Getting Individual Digits

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Getting Individual Digits
    ///File Name: Digits.java
    ///Date Finished: 12/10/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

116 116