#GOC35425. 2、n个数求和(c)

2、n个数求和(c)

题目描述

自然数求和,编写一个程序,求n的自然数之和。(n的范围小于15)

【输入格式】

第一行:一个整数n。

第二行:n个整数。

【输出格式】

n个自然数的之和

5
1 2 3 8 5
19