From 44e096d9bf14aedea2481a8bca61590fb6eda113 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 16:04:29 +0100 Subject: [PATCH] funguje --- cv5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index d301e87..c19b462 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -42,7 +42,7 @@ int find_student(struct student *students, int size, const char *name) { return i; // Nájdený študent } } - return -1; // Študent nenájdený + return 1; // Študent nenájdený } int id = find_student(database, size, name); if (id < 0) {