求数组元素的和。

Description   编程输入一个含有十个整数的一维数组,统计其中正数和负数的和。编程  程序已给出部分:数组 #include函数 int main(){spa return 0;}code 只需提交主函数中缺乏的部分。ip Input 十个整数。博客 Output 十个数中正数和负数的和。io Sample Input 12 3 -2 8 7 -8 1 9 -4 -6 Sample O
相关文章