Answer:
Following are the program for the above question in python:
Explanation:
def seat(num_rows,num_cols):#function definition.
for x in range(1,num_rows+1):#first for loop.
c='A'
for y in range(1,num_cols+1): #second for loop.
print(str(x)+c,end=" ") #print the value
c=[tex]chr[/tex](ord(c)+1) #expression to form a charater addition.
seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.
Output:
Code Explanation :