Aktualizovat „du5/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-09 21:11:38 +00:00
parent c06227025a
commit fffae6b518

View File

@ -50,7 +50,6 @@ int main(){
if(c>2){ if(c>2){
qsort(PersonList,c,sizeof(struct person),comp); qsort(PersonList,c,sizeof(struct person),comp);
}
int res_strcmp=0; int res_strcmp=0;
int idex = 0; int idex = 0;
for(int i =0;i<c;i++){ for(int i =0;i<c;i++){
@ -69,7 +68,7 @@ int main(){
} }
} }
} }
}
qsort(PersonList,c,sizeof(struct person),comp_num); qsort(PersonList,c,sizeof(struct person),comp_num);