c4
This commit is contained in:
parent
60bcf90200
commit
dae6e68199
@ -70,9 +70,14 @@ int main(int argc, char const *argv[]){
|
||||
|
||||
qsort(databaza, size, sizeof(struct student), compare_votes);
|
||||
|
||||
if(size==0){
|
||||
printf("Nepodarilo nacitat nic\n");
|
||||
}
|
||||
else{
|
||||
printf("Vysledky:\n");
|
||||
for(int i=0; i<size; i++){
|
||||
printf("%d %s\n", databaza[i].votes, databaza[i].name);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user