/// Name: Ryan Volko
/// Period: 7
/// Program Name: Basic
/// File Name: Basic.java
/// Date Finished: 5/4/2016
import java.util.Scanner;
public class Basic
{
public static void main( String[] args ) throws Exception
{
Scanner kb = new Scanner (System.in);
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