Sum of elements of an array




Algorithm:



Step1: start

Step2: read the array elements

Step3: add each elements of the array until the end of the array and store to sum.

Step4: print sum

Step5: stop



Comments

Popular posts from this blog

Node.js Cheat Sheet

Codeigniter ! Simple But Powerful

Enhancing Supply Chain Security and Cloud-Native Development with Chainguard