This commit is contained in:
Michaela Šaková 2019-03-23 20:22:22 +01:00
parent 2f15bd7111
commit 43632bf685
3 changed files with 2 additions and 2 deletions

BIN
anketa

Binary file not shown.

View File

@ -6,11 +6,11 @@
int count_students(struct student* students){
int i;
for(i=0; i<MAXSTUDENTS; i++){
if(students[i].votes<0){
if(students[i].votes<=0){
break;
}
}
return i-1;
return i;
}
int search(struct student* students,const char* name){

BIN
anketa.o

Binary file not shown.