Untitled
unknown
c_cpp
2 years ago
192 B
6
Indexable
#include <iostream>
using namespace std;
int main()
{
int n;
int count = 0;
cin >> n;
for (int i = 0; i < n; i++) {
int n;
cin >> n;
count += n;
}
cout << count;
}
Editor is loading...
Leave a Comment