Week 9: January 11 - 17. Pointers. References
Sum of elements
Given sequence of n real numbers. Find the sum of all its elements.
First line contains number n (n ≤ 100). Next line contains n real numbers, each of them is no more than 100 by absolute value.
Print the sum of all sequence elements with 1 digit after the decimal point.
5 1.2 1.3 5.7 1.8 12.4