summation elements for an array.

 

hello.

Some one cane help me to write a simple code that can i use to summation elements for an array.

tks.

 
What have You written so far? Where are you Stuck? Show your codes using the SRC button above.
 
izmnaari:

hello.

Some one cane help me to write a simple code that can i use to summation elements for an array.

tks.

while value<array size

summation += array[value]

value++

 
izmnaari:
Some one cane help me to write a simple code that can i use to summation elements for an array.
  1. No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
  2. xxx summation = 0; for (int iArray = ArraySize(array) - 1; iArray >= 0; iArray--) summation += array[iArray];
 

Thanks !!!!!!

Reason: