Assignment #113 Basic Nested Loops

Code

    /// Name: Koosha Kimelman
    /// Period: 7
    /// Program Name: Basic Nested Loops
    /// File Name: BasicNestedLoops
    /// Date Completed: 4/19/16
    
    public class BasicNestedLoops {
    
        public static void main(String[] args) {
        
            for (int x = 0; x <= 5; x++) {
            
                for (int n = 0; n <= 5; n++) {
                
                    System.out.print("(" + x + "," + n + ") ");
                    
                }
                
                System.out.println();
            }
        }
    }
    

Picture of the output

Assignment 113