//colin hinton
//5th period
//nest.java
//5/6/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