Untitled

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

int main() {
    gnomik bebr; 
    gnomik bebr1;
    gnomik bebr2;
    cin >> bebr.rost;
    cin >> bebr1.rost;
    cin >> bebr2.rost;
    cout << bebr.rost + bebr1.rost + bebr2.rost;
}