Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
413 B
2
Indexable
Never
#include <iostream>
using namespace std;
struct gnomik {
    char pol;
    int vosrast;
    int rost;
};

int main() {
    gnomik bob;
    gnomik abob;
    cin >> bob.rost;
    cin>>abob.rost;
    if (bob.rost > abob.rost) {
        cout << bob.rost;
    }
    if (abob.rost > bob.rost) {
        cout << abob.rost;
    }
    if (abob.rost == bob.rost) {
        cout << "Oni ravny";
    }
}