Assignment 113; Coord

Code

// Donovan Rich
// Period 6
// Basic Nested Loops
// Coord.java
// 5/2/2016

public class Coord
{
	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 + ") " );
			}
            System.out.println();
		}

		System.out.println("\n");

	}
}

    

Picture of the output