write a program to add integers in array like below

Aug 27 2016 2:33 PM
sample input
 
6
1 2 3 4 10 11
 
sample output
31

Answers (1)