include<stdio.h>#include<string.h>#define N 10struct student{char name[20];int score;};void main(){struct student stu[N];struct student *p; int i,v,s,temp;char tempname1[20],tempname2[20];for(i=0;i<N;i++){printf("please input %d student name\n",i+1);scanf...
} int student_sort(student s[], int s_size){ for(int n1=0;n1<s_size;n1++) { for(int n2=n1+1;n2<s_size;n2++) { if(s[n1].score_total<s[n2].score_total) { student_swap(&s[n1], &s[n2]); } } } return 0;} int main(){ student s[5]; for(int n=0;n...