/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class NestedLoops {
public static void main (String [] args) {
int numRows = 4;
int numCols = 5;
int i,j;
char ch = 'A';
// Note: You'll need to declare more variables
/* Your solution goes here */
for ( i = 0; i < numRows; i++) { // Outer loop runs for numRows times
for ( j = 0; j < numCols; j++) { // Inner loop runs for numCols times
System.out.print(i+1);
System.out.print((char)(ch+j));
System.out.print(" ");
}
}
System.out.println("");
return;
}
}