Aktualizovat „du5/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-09 20:30:19 +00:00
parent b6c2b8eee8
commit 943d605c48

View File

@ -66,7 +66,7 @@ int main(){
int flag=0; int flag=0;
qsort(PersonList,c,sizeof(struct person),comp_num); qsort(PersonList,c,sizeof(struct person),comp_num);
printf("Vysledok\n"); printf("Vysledky:\n");
for(int i =0;i<c;i++){ for(int i =0;i<c;i++){
res_strcmp = strcmp(PersonList[i].name,PersonList[i+1].name); res_strcmp = strcmp(PersonList[i].name,PersonList[i+1].name);
if(res_strcmp!=0){ if(res_strcmp!=0){