{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eWe know that, an array can store a fixed-size collection of elements of the same data type using one variable. You have to find the sum of elements of an array.\u003c/p\u003e \n\n"}},{"title":"Input","value":{"format":"HTML","content":"The first line contains an integer, N \u003e 0 , denoting the size of the array.\nThe second line contains integers representing the elements of the array separated by space. \nEach elements of the array will be less than or equal to 1000 ( arra[i]\u003c\u003d1000)."}},{"title":"Output","value":{"format":"HTML","content":"Output will be an integer which is the sum of the elements of the array."}},{"title":"Sample Input-Output","value":{"format":"HTML","content":"\u003cp\u003eInput:\u003c/p\u003e\n\u003cp\u003e5\u003c/p\u003e\n\u003cspan\u003e3 2 1 5 4\u003c/span\u003e\n\u003cp\u003eOutput:\u003c/p\u003e\n\u003cp\u003e15\u003c/p\u003e\n\n\u003cp\u003eInput:\u003c/p\u003e\n\u003cp\u003e3\u003c/p\u003e\n\u003cp\u003e13 22 15\u003c/p\u003e\n\u003cp\u003eOutput:\u003c/p\u003e\n\u003cp\u003e50\u003c/p\u003e\n\n\u003cp\u003eInput:\u003c/p\u003e\n\u003cp\u003e10\u003c/p\u003e\n\u003cp\u003e25 5 9 17 21 37 9 10 4 50\u003c/p\u003e\n\u003cp\u003eOutput:\u003c/p\u003e\n\u003cp\u003e187\u003c/p\u003e"}}]}