From 1746f22b4e73c43b7f176d3459bb0fc2f0a614d5 Mon Sep 17 00:00:00 2001 From: Kozar Date: Wed, 2 Oct 2024 19:05:32 +0000 Subject: [PATCH] Initializacia --- cv1/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv1/program.c b/cv1/program.c index b5ccdb8..dbd3329 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -73,7 +73,7 @@ int main() { } search[strcspn(search, "\n")] = '\0'; - printf("Zadaj jedalny listok:\n"); + printf("Zadaj jedalny listok:"); while (count < MENU_SIZE && read_pizza(&menu[count])) { count++; } @@ -81,7 +81,7 @@ int main() { int found_count = 0; for (int i = 0; i < count; i++) { if (contains_normalized(menu[i].name, search)) { - printf("%s\n%.2f\n", menu[i].name, menu[i].price); + printf("\n%s\n%.2f\n", menu[i].name, menu[i].price); found_count++; } }