test
This commit is contained in:
parent
12794efe5f
commit
1183d33467
2
anketa.c
2
anketa.c
@ -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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user