Question:
In JavaScript, program a dynamically created table, as shown in Figure 2, based off the number of rows and columns entered into input fields by the user.

Answer: