From e5a26ba1344622243024f05ba11a44bf39f76492 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 16:08:36 +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 c19b462..6fff5a7 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 0; // Študent nenájdený } int id = find_student(database, size, name); if (id < 0) {