Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
186 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
int n[5];
int a;
int count = 0;
for (int i = 0; i < 5; i++) {
	cin >> a;
	n[i] = a;
	count += a;
}
cout << count;


}
Leave a Comment