#include
using namespace std;
class Student
{
private:
int id;
char yuwen;
float shuxue;
public:
Student(){}
Student(int i,char y,float s);
void Print();
void Change(int i,char y,float s);
}
Student::Student(int i,char y,float s)
{
if(A<=y)&&(y<=D))
{
id=i;
yuwen=y;
shuxue=s;
}
}
void Student::print()
{
cout<
}
void Student::Change(int i,char y,float s)
{
if((y>=A)&&(y<=D))
{
id=i;
yuwen=y;
shuxue=s;
}
}
int main()
{
Student A(78,'E',86),B(84,'D',82),C;
A.Print();
C.Change(78,'E',86);
}