摘要: #include #include int main() { int i,max; char sx[20]; for(i=0;i0) max=strcmp(sx-1,sx); } if(max==-1) printf("%s",sx); return 0; } #include #include int ... 阅读全文
posted @ 2016-12-15 16:42 芦大大 阅读(159) 评论(2) 推荐(0) 编辑
摘要: 知识点 结构 struct student { int num; /*学号*/ char name [10]; /*姓名*/ int computer, english,math; /*三门课程成绩*/ double average; /*个人平均成绩*/ }; 大括号中以变量定义的形式列出了学生的 阅读全文
posted @ 2016-12-15 16:25 芦大大 阅读(213) 评论(1) 推荐(0) 编辑