#include <iostream>
#include <cmath>

using namespace std;

struct Student {
    int age;
};

int main() {
    Student s[5];
    int maxAge = 0;

    for (int i = 0; i < 5; i++) {
        cin >> s[i].age;
        if (s[i].age > maxAge) {
            maxAge = s[i].age;
        }
    }
    cout << maxAge << endl;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: