/// Name: Afaf Nabeeha
/// Period: 7
/// Program Name: Basic Nested Loops
/// File Name: Basic.java
/// Date Finished: 3/8/2016 public class Basic
public class Basic
{
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 + ") " );
if ( y == 5 )
{
System.out.println();
}
}
}
}
}
Picture of the output