求數組元素的和。

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
相關文章