Hi,
I am trying to mulitply elements in an array, I know how to sum them but I am having a memory block to multiply them.
sum = sum + array[n]; **/sum
multiply elements in array[n] ????
This is a discussion on array element multiplication within the C# Programming forums, part of the General Programming Boards category; Hi, I am trying to mulitply elements in an array, I know how to sum them but I am having ...
Hi,
I am trying to mulitply elements in an array, I know how to sum them but I am having a memory block to multiply them.
sum = sum + array[n]; **/sum
multiply elements in array[n] ????
Perhaps
mul = mul * array[n];
???
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.