#include <iostream>
using namespace std;
struct Person {
int num;
};
int main() {
Person p[5];
int sum = 0;
for (int i = 0; i < 5; i++) {
cin >> p[i].num;
sum += p[i].num;
}
cout << sum<< endl;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: