Brutalmouse
2012-04-30 19:25:30 UTC
valueArray
[0]
[1] 10
[2] 12
[3] 14
[4] 16
[5] 18
[6] 19
[7] 21
[8]
It may help to know that this syntax outputs a value of "x=512" given the array (all variables are int type):
x=0;
for (i=1; i<=3; i++)
x+=valueArray[i]*valueArray[i+1];
Console.WriteLine("x = {0}",x);
That is because it uses the values in the aforementioned array to compute a total. I'm really in need of the code I would use to assign this array. Help!