#include
using namespace std;
class score
{public:
void set_score();
void show_score();
private:
int num;
int Math;
int English;
};
int main()
{
score s1;
s1.set_score();
s1.show_score();
return 0;
}
void score::set_score()
{
cout<<"请输入学号"<cin>>num;
cout<<"请输入数学成绩"<cin>>Math;
cout<<"请输入英语成绩"<cin>>English;
}
void score::show_score()
{
cout<<"学号 数学成绩 英语成绩 如下"<cout<
class score
{
public :
score();
~score();
showscore();
programming();
inscore();
private:
string num;
long mather;
long English;
}