From 839307eea030aa0a1a33e261d9410b29fe09eff9 Mon Sep 17 00:00:00 2001 From: Kozar Date: Wed, 2 Oct 2024 18:22:55 +0000 Subject: [PATCH] Initializacia --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index 24bb1b2..808cbc2 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -76,7 +76,7 @@ int main() { } int found_count = 0; - for (int i = 0; i < count; i++) { + for (int i = 0; i < 3; i++) { if (contains_normalized(menu[i].name, search)) { printf("%s\n%.2f\n", menu[i].name, menu[i].price); found_count++;