摘要: #includestruct student{ char name[4]; double age; }; int main(void) { int i,index,j,n; struct student studengts[4],temp; for(i=0;i<n-1;i++){ index=i; for(j=i+1;j<n;j++) if(students[j].age<students[index].age) index=j; temp=student[index];... 阅读全文
posted @ 2013-11-21 09:56 傻子疯子捏子 阅读(717) 评论(0) 推荐(0) 编辑