diff --git a/anketa b/anketa index 921c948..06b5dbd 100755 Binary files a/anketa and b/anketa differ diff --git a/anketa.c b/anketa.c index ab760ad..a5a8027 100644 --- a/anketa.c +++ b/anketa.c @@ -10,7 +10,7 @@ int count_students(struct student* students){ break; } } -return i; +return i-1; } int search(struct student* students,const char* name){ diff --git a/anketa.o b/anketa.o index 26d8792..3193a1a 100644 Binary files a/anketa.o and b/anketa.o differ