Answer:
The question is answered using Python:
for i in range(0,3):
for j in range(0,3):
print("("+str(i)+", "+str(j)+")",end=' ')
num = int(input(": "))
Explanation:
The programming language is not stated. However, I answered using Python programming language
The next two lines is a nested loop
This iterates from 0 to 2, which represents the rows
for i in range(0,3):
This iterates from 0 to 2, which represents the columns
for j in range(0,3):
This prints the grid cell
print("("+str(i)+", "+str(j)+")",end=' ')
This prompts user for input
num = int(input(": "))