#include <iostream>
using namespace std;
struct stu
{
private:
int age;
string sex;
int tall;
public:
double score;
void set(int a,string s,int t);
int get_age();
string get_sex();
int get_tall();
};
void stu::set(int a,string s,int t)
{
age=a;
sex=s;
tall=t;
}
int stu::get_age()
{
return age;
}
string stu::get_sex()
{
return sex;
}
int stu::get_tall()
{
return tall;
}
int main()
{
stu s1;
s1.set(19,"男",176);
s1.score=100;
cout<<"age="<<s1.get_age()<<endl;
cout<<"sex="<<s1.get_sex()<<endl;
cout<<"tall="<<s1.get_tall()<<endl;
cout<<"score="<<s1.score<<endl;
return 0;
}