I am trying to write a program that lets a user put data into a multi-dimensional array, and display it as a table. Here is a simplified version of my code: