Assignment #113 Basic Nested Loops

Code

    Name: Iaroslav Titov
    Period: 7
    Project Name: Coords
    File Name: Coords.java
    Date: 1/12/2015
    
public class Coords
{
	public static void main( String[] args ) throws Exception
	{
		System.out.println();
		for ( int i = 0; i < 6; i++)
		{
			for ( int j = 0; j < 6; j++)
			{
				System.out.print("(" + i + "," + j + ")");
			}
			System.out.println();
		}
		System.out.println();
	}
}


    

Picture of the output

Assignment 110