摘要:
按等级统计学生成绩 (20 分) 本题要求实现一个根据学生成绩设置其等级,并统计不及格人数的简单函数。 函数接口定义: int set_grade( struct student p, int n ); 其中p是指向学生信息的结构体数组的指针,该结构体的定义为: struct student{ in 阅读全文
摘要:
,1,实验代码 include int main (void) { int unhappy = 0, sad = 0, happy = 0, profit = 0; char c; while ( ( c = getchar() ) != '$' ) { if ( unhappy && !happy 阅读全文