C语言,数组。用键盘输入n个学生的姓名,并按字典顺序排序输出,n值由键 ...答:include<string.h> int main (){int n,i,j;char s[100][20],t[20];scanf("%d",&n);for(i=0;i<n;i++)scanf("%s",s[i]);for(i=0;i<n-1;i++)for(j=0;j<n-1-i;j++)if(strcmp(s[j],s[j+1])>0){strcpy(t,s[j]);strcpy(s[j],s[j+1]);strcpy(s[j+1]...