如何使一个姓名对应一个成绩,最后怎样编译输出?如何使一个姓名对应一个成绩,最后怎样编译输出?
使用结构体类型
struct student{ char name[32]; float score; };