test
This commit is contained in:
parent
e0be203d42
commit
fc27accf5d
2
anketa.c
2
anketa.c
@ -19,6 +19,8 @@ int search(struct student* students,const char* name){
|
|||||||
a=strcmp(students[i].name,name);
|
a=strcmp(students[i].name,name);
|
||||||
if(a==0){
|
if(a==0){
|
||||||
return i;
|
return i;
|
||||||
|
}else{
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user