diff --git a/anketa b/anketa index f14e8d0..25ae6c2 100755 Binary files a/anketa and b/anketa differ diff --git a/anketa.c b/anketa.c index 5f69d77..e994266 100644 --- a/anketa.c +++ b/anketa.c @@ -14,14 +14,13 @@ return i; } int search(struct student* students,const char* name){ - int index=-1; + for(int i=0; i