I was wondering if someone could help me, I made this simple program below to try using 2d arrays. I am using cout currently to display the information but I would like to use a display function instead but I am unsure how to do this correctly and I have been trying for an hour or so now.
Any help would be appreciated.
(the commented out portion of the code shows what the program should display when executed the spacing between the data might be a bit off due to the forum text editor)