#include<iostream>
#include<string>
using namespace std;
const int n=10;
string name[n]; //定义姓名数组
int num[n],score[n]; //定义学号和成绩数组
int main()
{int i;
void input_data();
int_data();
cout<<endl<<"不及格名单:"<<endl;
for(i=0;i<n;i++)
if(score[i]<60)
cout<<"name[i]"<<" "<<"num[i]"<<" "<<score[i]<<endl;
return 0;
}
viod input_data()
{int i;
for(i=0;i<n;i++)
{cout<<"请输入学生的姓名、学号和成绩"<<i+1<<":";
cin>>name[i]>>num[i]>>score[i];
}
return 0;
}