diff --git a/du5/program.c b/du5/program.c index 32eddb6..c7621f5 100644 --- a/du5/program.c +++ b/du5/program.c @@ -62,13 +62,7 @@ void Sort_Struct(struct LIS *list,int count){//bubble sort :) list[j]=ilusion; } if(list[i].num==list[j].num){ - if(strlen(list[i].sname)>strlen(list[j].sname)){\ - val=strlen(list[i].sname); - } - else{ - val=strlen(list[j].sname); - } - for(int k=0;kstrlen(list[j].fname)){\ - val=strlen(list[i].fname); - } - else{ - val=strlen(list[j].fname); - } - for(int l=0;l