#include <iostream>
using namespace std;
class student
{
public:
student (double S,int X,char SEX);
~student();
void chengji(double chinese,double math,double english);
private:
double score;
int xuehao;
char sex;
};
student::student(double S,int X,char SEX)
{
score = S;
xuehao = X;
sex=SEX;
}
student::~student()
{
cout<<"xueshengchengji"<<endl;
cout<<score<<xuehao<<sex<<endl;
}
void student::chengji(double chinese,double math,double english)
{
cin>>chinese>>math>>english>>endl;
}
int main ()
{
student A(0,101,m);
A.chengji(0,0,0);
return 0;
}