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

This commit is contained in:
Pavlo Tverdyi 2020-04-16 15:00:09 +00:00
parent cba3a8eb0e
commit 15a01e714f

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;
} }