Im having abit of trouble trying to figure out how to get my VB inputbox to work and then add the value entered into my multidimensional array.
The array looks like this:
int[,] toys = new int[5, 4];
and so far this is what i have for the inputbox.
string value;
int num;
value = Microsoft.VisualBasic.Interaction.InputBox("Enter Number of Products", "Monday");
I need to have Monday-Friday values for 4 weeks. To do this i was thinking of using the inputbox in a for loop perhaps? Everytime the user enters input for that day it would insert it into the array?
Then repeat that for the 4 weeks?
Open to any suggestions as i am not sure the best way to go about it.
Thanks!