#include
using namespace std;
class Student
{
private:
string SName;
string SNo;
string SScore[10];
public :
void init();
void print();
};
void Student::init()
{
cout<<"请输入学生姓名:";
cin>>this->SName;
cout<<"学号:";
cin>>this->SNo;
cout<<"各科成绩:";
for(int i=0;i<10;i++)
{
cin>>this->SScore[i];
}
}
void Student::print()
{
cout<<"学生信息:姓名:"<
{
cout<
cout<
int main()
{
Student s;
s.init();
s.print();
return 0;
}