test
This commit is contained in:
parent
fc27accf5d
commit
1b87440824
2
anketa.c
2
anketa.c
@ -15,7 +15,7 @@ return i;
|
||||
|
||||
int search(struct student* students,const char* name){
|
||||
int a;
|
||||
for(int i=0; i<MAXSTUDENTS; i++){
|
||||
for(int i=0; i<count_students(students); i++){
|
||||
a=strcmp(students[i].name,name);
|
||||
if(a==0){
|
||||
return i;
|
||||
|
Loading…
Reference in New Issue
Block a user