#include<iostream>
#include<cmath>
#include<cstdio>
#include<fstream>
using namespace std;
void caidan();
class student{
public:
int xh;
string name;
int yuwen;
int shuxue;
int yingyu;
void set(int xh1,string name1,int yuwen1,int shuxue1,int yingyu1){
xh = xh1;
name = name1;
yuwen = yuwen1;
shuxue = shuxue1;
yingyu = yingyu1;
}
void get(){
cout<<"学号:"<<xh<<endl;
cout<<"语文:"<<yuwen<<endl;
cout<<"数学:"<<shuxue<<endl;
cout<<"英语:"<<yingyu<<endl;
}
};
student a[100];
int id=0;
void add(int id1){
03-14
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交