From ba3d6439c03817829a7f1878f9f8fc3e5a11703d Mon Sep 17 00:00:00 2001 From: Kozar Date: Wed, 2 Oct 2024 18:09:27 +0000 Subject: [PATCH] Initializacia --- cv1/program.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cv1/program.c b/cv1/program.c index ce7f787..5ce3fb2 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -75,6 +75,9 @@ int main() { int found_count = 0; for (int i = 0; i < count; i++) { if (contains_normalized(menu[i].name, search)) { + if (found_count == 0) { + printf("\nVysledky vyhladavania:\n"); + } printf("%s\n%.2f\n", menu[i].name, menu[i].price); found_count++; }