ds
This commit is contained in:
parent
238ec353f2
commit
b9ecefbae4
@ -51,6 +51,7 @@ int main(){
|
|||||||
if(size>1)
|
if(size>1)
|
||||||
qsort(databaza, size, sizeof(struct student), compare);
|
qsort(databaza, size, sizeof(struct student), compare);
|
||||||
}
|
}
|
||||||
|
printf("Vysledky:\n");
|
||||||
for(int idx=0;databaza[idx].name[0]!='\0';idx++)
|
for(int idx=0;databaza[idx].name[0]!='\0';idx++)
|
||||||
printf("%d %s", databaza[idx].votes, databaza[idx].name);
|
printf("%d %s", databaza[idx].votes, databaza[idx].name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user