Assignemnt #113 and Basic Nested Loops

Code

///Name:Ben borglin
///Period: 6
///Program Name: Basic Nested loops
///File Name: basicNL.java
///Date finsihed: 2/22/26

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

    

Picture of the output

Assignment 113