Assignment #113

Code

      /*
jack newsom
period 5
program Coords
filename Coords.java
date completed 11/13/2015
*/


public class Coords
{
    public static void main( String[] args )
    {
        for ( int x = 0; x <= 5; x = x + 1 )
        {
            System.out.println();
            for ( int y = 0; y <= 5; y = y + 1 )
            {
                System.out.print(" (" + x + "," + y + ")"); 
            }
        }
        
        System.out.println();
    }
}
    

Picture of the output