Assignment #113 and basic Nested Loops

Code

  /// Name: Trent Lane
    /// Period: 6
    /// Program Name: Basic Nested Loops
    /// Date Finished: 3/16/2016
    
    public class BasicNest
    {
        public static void main(String[] args)
        {
            for (int a = 0; a < 6; a++)
            {
                for (int b = 0; b < 6; b++)
                {
                    System.out.print(" (" + a + "," + b + ")");
                }
                
                System.out.println();
            }
        }
    }

 

Picture of the output

Assignment 71