Untitled

 avatar
user_7248805
plain_text
2 years ago
396 B
1
Indexable
Never
#include <iostream>
using namespace std;
struct gnom
{
	char pol = 'm';
	int age;
	int height;
};

int main()
{
	gnom malorostoc;
	malorostoc.age = 5;
	malorostoc.height = 2;
	gnom mmalorostoc;
	mmalorostoc.age = 4;
	mmalorostoc.height = 1;
	gnom polurostock;
	polurostock.height = 3;
	int a;
	a = polurostock.height + mmalorostoc.height + malorostoc.height;
	cout << a;

}