Aktualizovat "program.c

This commit is contained in:
Michal Čabra 2019-10-25 10:57:26 +00:00
parent 09d59d24dc
commit bba0e9d4e9

View File

@ -23,7 +23,12 @@ int compare_pizza(const void * left, const void * right) {
return -1;
}
else{
return 1;
if(a->name[0] > b->name[0]){
return 1;
}
else{
return -1;
}
}
}