Assignment 113

Code

//Matthew Hughs
//5th period
//nest.java
//5/9/2016

class nest
{
    public static void main (String [] args)
    {
        for (int x = 0; x < 6; x++)
        {
            for (int y = 0; y < 6; y++)
            {
                System.out.print("(" + x + "," + y + ")" );
            }
            System.out.println();
        }
    }
}
    

Picture of the output

Countingfor