What is the output produced by the following nested for loop
     What is the output produced by the following nested for loops.  For(int i = 1; i less than or equal to 3; i++) {for(int j = 0; j  
  
  Solution
 public class testloop {
    public static void main(String[] args) {
        for(int i=1;i<=3;i++){
            for(int j=0;j<5;j++){
                System.out.print(i+\",\"+j+\" \");
            }
            System.out.println();
        }
    }
 }
 output:
 1,0 1,1 1,2 1,3 1,4
 2,0 2,1 2,2 2,3 2,4
 3,0 3,1 3,2 3,3 3,4
 

