Hello,
I have an function that has an array, when a user inputs a number it catches the array through the function and gets the pricing back.
Although when the user inputs something larger than 4 I would like it to display the same contents as the 4th column...It's auto populated to:
Code:
0 1 2 3 4
1 # # # # #
2 # # # # #
3 # # # # #
4 24 32 34 37 42
Lets say a user inputs 0 for the row and 6 for the column.
Is there a way to display the same contents as 4?
Sorry if i don't explain this right. New to programming...
Thank you.