Untitled
Anonymous
plain_text
12/01/2022 5:28 PM
676 B
16
Indexable
#include <iostream>
using namespace std;
struct gnom_gomosek {
string sex;
int age;
int height;
};
int main() {
int a=0, b=0;
gnom_gomosek abobus1;
gnom_gomosek abobus2;
gnom_gomosek abobus3;
cin >> abobus1.sex;
cin >> abobus2.sex;
cin >> abobus3.sex;
if (abobus1.sex == "man") a += 1;
else b += 1;
if (abobus2.sex == "man") a += 1;
else b += 1;
if (abobus3.sex == "man") a += 1;
else b += 1;
if (a > b) cout << "Gnomo-Patriarhat";
else cout << "Gnomo-Femenizm";
}Editor is loading...