#include "stdafx.h"
#include
using namespace std;
int main()
{
int i;
int sum = 0;
const int size = 10;
int main_mass[size];
for (i = 0; i < size; i++) {
cout << "Enter the number " << i << " of " << size << " : ";</span>
cin >> main_mass[i];
sum += main_mass[i];
};
cout << "Summa vseh elementov massiva = " << sum << " "; </span> system("pause");
}