Sum of all elements of an array
Example 1: Sum of all elements of a vector
A=
Example 2: Sum of all elements of an array
A=
The size of the input array is:
X