Assignemnt #113 and Simple Nested Loops

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Simple Nested Loops
    ///File Name: SimpleNestedLoops
    ///Date Finished: 3/21/16
    
    public class SimpleNestedLoops
    {
        public static void main( String[] args )
        {
            for(int x = 0; x <= 5; x++)
            {
                for(int y = 0; y <= 5; y++)
                {
                    System.out.print("(" + x + "," + y + ") ");
                }
                System.out.println();
            }
        }
    }

    

Picture of the output

Assignment 113