To find the sum of elements of an array Follow these Steps.
- create an empty variable. ( sum)
- Initialize it with 0 in a loop.
- Traverse through each element (or get each element from the user) and add each element to the sum.
- Print sum.
Vishalini.R Answered question
