From 943f74a75ec92f044ad95236c8ea749021e0bdf5 Mon Sep 17 00:00:00 2001 From: Kozar Date: Wed, 2 Oct 2024 19:06:27 +0000 Subject: [PATCH] Initializacia --- cv1/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cv1/program.c b/cv1/program.c index dbd3329..b03c006 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -81,14 +81,11 @@ int main() { int found_count = 0; for (int i = 0; i < count; i++) { if (contains_normalized(menu[i].name, search)) { - printf("\n%s\n%.2f\n", menu[i].name, menu[i].price); + printf("%s\n%.2f\n", menu[i].name, menu[i].price); found_count++; } } - if (found_count == 0) { - printf("\n"); - } printf("Nacitanych %d poloziek.\n", count); return 0;