From 7f3b45475686e84aedcd316cf7cc785fbeef2785 Mon Sep 17 00:00:00 2001 From: Kozar Date: Sun, 10 Nov 2024 15:43:02 +0000 Subject: [PATCH] Initializacia --- cv7/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cv7/program.c b/cv7/program.c index 491f52f..31ed927 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -42,7 +42,7 @@ void run_tree(struct tree* tree) { } if (tree->value[0] == '*') { - printf("Expert z bufetu to vie.\n*%s\nKoniec\n", tree->value + 1); + printf("*%s\nKoniec\n", tree->value + 1); return; } @@ -89,6 +89,7 @@ int main() { int count = 0; count_items(root, &count); + printf("Expert z bufetu to vie.\n"); printf("Pozna %d druhov ovocia a zeleniny.\n", count); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");