The predetermined values in my array pertain to sales numbers, however I was wondering how this could be changed to accept user input for value of the stores. I've seen a few "for" loops that accept user input but I do not know if they work for jagged arrays or only multidimensional; nor do I understand the logic behind them. I understand it is a simple concept but I'm still a beginner.
int[][] stores = {new int [] {2000,4000,3000,1500,4000},
new int [] {6000,7000,8000},
new int [] {9000,10000}};
double av1 = stores[0].Average();
double av2 = stores[1].Average();
double av3 = stores[2].Average();
double totalav = (av1 + av2 + av3) / 3;
Console.WriteLine("Region 1 weekly sales average is: {0}", av1);
Console.WriteLine("Region 2 weekly sales average is: {0}", av2);
Console.WriteLine("Region 3 weekly sales average is: {0}", av3);
Console.WriteLine("The total store average is: {0}", totalav);
stores[outerIterator][innerIterator] = int.Parse(Console.ReadLine());List. This will allow you to.Add()to it however many times you want.