Assignment 113

code

///Name: Mutsu Osoegawa
///Period: 7
///Project Name: Basic Nested Loops
///File Name: BasicNestedLoops.java

public class BasicNestedLoops
{
    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();
                }
            }
        }
    }
}