//快点采纳!!!
#include
#define N 5
using namespace std;
struct student
{
int score;
string number;
string name;
} stu[N];
void Output()
{
cout<<"以下为所有学生信息:"<for(int i=0; i cout< }
void Putbest()
{
int best=0,x;
for(int i=0; iif(stu[i].score>best)
{
x=i;
best=stu[i].score;
}
cout<<"成绩最好的学生的信息为:";
cout<}
int main()
{
cout<<"请输入这"<for(int i=0; i cin>>stu[i].number>>stu[i].name>>stu[i].score;
Output();
Putbest();
}