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,8 +23,13 @@ int compare_pizza(const void * left, const void * right) {
return -1; return -1;
} }
else{ else{
if(a->name[0] > b->name[0]){
return 1; return 1;
} }
else{
return -1;
}
}
} }