#include <iostream>
#include<iomanip>
#include<cstring>
using namespace std;
class Stu
{
int age;
string sex;
int high;
public:
void set_Stu(int age2,string sex2,int high2);
int get_age();
string get_sex();
int get_high();
};
void Stu::set_Stu(int age2, string sex2, int high2)
{
age=age2;
sex=sex2;
high=high2;
}
int Stu::get_age()
{
return age;
}
string Stu::get_sex()
{
return sex;
}
int Stu::get_high()
{
return high;
}
int main()
{
Stu stu;
stu.set_Stu(23,"男",185);
cout<< "age:" << stu.get_age() <<endl;
cout<< "sex:" << stu.get_sex() <<endl;
cout<< "high:" << stu.get_high() <<endl;
return 0;
}