C++
#include
using namespace std;
int main() {
int a, b, c, d, e, f, g, h, n, r, S=0;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
cin >> e;
cin >> f;
cin >> g;
cin >> h;
cin >> n;
cin >> r;
S = (a + b + c + d + e + f + g + h + n + r) / 10;
cout << "S= " << S << endl;<br>system("pause");
return 0;
}