From 57556018ea5ef7bfb395f9f392fd4050525f942c Mon Sep 17 00:00:00 2001 From: Kozar Date: Sun, 10 Nov 2024 15:55:33 +0000 Subject: [PATCH] Initializacia --- cv7/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index cd0c7bd..266a371 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -85,14 +85,14 @@ void count_items(struct tree* tree, int* count) { int main() { struct tree* root = load_tree(); + printf("Expert z bufetu to vie.\n"); if (!root) { - printf("Chyba: Nepodarilo sa nacitat bazu pravidiel.\n"); + printf("Chybna databaza\n"); return 0; } 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");