#include "anketa.h" #include #include #include int count_students(struct student* students){ int x=0; for(int i=0; ivotes==stud2->votes?0:stud1->votesvotes?1:-1; } void sort_students(struct student* students){ qsort(students, count_students(students), sizeof(struct student), compare); } void print_students(struct student* students){ for(int i=0;i