Question: I need this in JAVA. I have looked at many solutions on this site and I have even used some of the codes from here
I need this in JAVA. I have looked at many solutions on this site and I have even used some of the codes from here and I still get an error here is the question 3.7.2: Nested loops: Print seats. Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print a space after each seat, including after the last. Use separate print statements to print the row and column. Ex: numRows = 2 and numColumns = 3 prints: 1A 1B 1C 2A 2B 2C
Here is a screen shot of the lab

Here is a copy of the code that I have been using that I got from here:
for (currentRow = 0; currentRow
currentColumnLetter = 'A';
for (currentColumn = 0; currentColumn
System.out.print(currentRow + 1);
System.out.print(currentColumnLetter + " ");
currentColumnLetter++;
here is the error code it gives me when using the code from here

Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. P space after each seat, including after the last. Use separate print statements to print the row and column. Ex: numRows = 2 an numColumns =3 prints: 1A1B1C2A2B2C Code writing challenge activity demo 468160.1946576.93z9y7 Failed to compile NestedLoops.java:18: error: variable currentcolumntetter might not have been initialized System.out.print (currentcolumnLetter + " "); 1 error View your last submission \begin{tabular}{l|l} 3 & public static void main (String [] args) \{ \\ 4 & Scanner scnr = new Scanner(System. in); \\ int numRows; \\ int numColumns; \\ 6 & int currentRow; \\ 7 & int currentColumn; \\ 8 & char currentColumnLetter; \\ 9 & \\ 18 & \\ 11 & numRows = scnr. nextInt(); \\ 12 & numColumns - scnr.nextInt(); \\ 13 & \\ 14 & \\ 15 & System.out.println("); \\ 16 & \\ 17 j \end{tabular} Failed to compile NestedLoops.java:18: error: variable currentcolumntetter might not have been initialized System.out.print (currentcolumnletter + " "); 1 error View your last submission v How was this section? ity summary for assignment: Wk 3a - Loops [due Day 7] ubmitted to BlackboardLearn etion details v
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
