This commit is contained in:
Andrii Hermaniuk 2022-04-07 15:48:43 +02:00
parent 238ec353f2
commit b9ecefbae4

View File

@ -51,6 +51,7 @@ int main(){
if(size>1)
qsort(databaza, size, sizeof(struct student), compare);
}
printf("Vysledky:\n");
for(int idx=0;databaza[idx].name[0]!='\0';idx++)
printf("%d %s", databaza[idx].votes, databaza[idx].name);