Изменить 'du6/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-04-16 15:03:02 +00:00
parent 15a01e714f
commit 86ae5b951c

View File

@ -66,7 +66,7 @@ void sort(struct LIS* list,int count){
min=list[i].fname; min=list[i].fname;
mini=i; mini=i;
for(int j=i+1;j<=count;j++){ for(int j=i+1;j<=count;j++){
if(strcmp(min,list[j].fname)<0){ if(strcmp(min,list[j].fname)>0){
min=list[j].fname; min=list[j].fname;
mini=j; mini=j;
} }