Intel Corporation Interview Question

Sum up the elements in an array