This commit is contained in:
Michaela Šaková 2019-03-23 20:15:46 +01:00
parent 12794efe5f
commit 1183d33467
3 changed files with 1 additions and 1 deletions

BIN
anketa

Binary file not shown.

View File

@ -6,7 +6,7 @@
int count_students(struct student* students){ int count_students(struct student* students){
int x=0; int x=0;
for(int i=0; i<MAXSTUDENTS; i++){ for(int i=0; i<MAXSTUDENTS; i++){
if(!(strcmp(students[i].name,"")==0)){ if(students[i].votes>0){
x++; x++;
} }
} }

BIN
anketa.o

Binary file not shown.