Assignemnt #8 and Your Initials

Code

/// Name:David Shkolnikov
/// Period: 6
/// Program Name: Basic Nested Loops
/// File Name: BasicNestedLoops.java
/// Date Finished: 5/5/2016

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

Picture of the output

Assignment 8