Friday, January 31, 2014

How could I implement a loop to add values of my array; rather than add them manually? (Cant think outside the box)

double average = 0;


for(int i = 0; i< storeMax.length : i++)


{


average += Data[i,1];


}


Console.WriteLine(average);


No comments:

Post a Comment