From c3b06083154bae935ddf88d05574b3d4c75a0e14 Mon Sep 17 00:00:00 2001 From: VIliam Date: Mon, 11 Nov 2024 14:46:40 +0100 Subject: [PATCH] cv7 --- cv7/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index f07cfc9..902f28f 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -51,7 +51,7 @@ void free_tree(Node *node) { void run_system(Node *node) { while (node) { if (node->yes == NULL && node->no == NULL) { - printf("Expert z bufetu to vie.\n"); + printf("* %s\n", node->text); printf("Koniec\n"); break; @@ -74,7 +74,7 @@ void run_system(Node *node) { int main() { int item_count = 0; - printf("Načítajte bázu znalostí:\n"); + printf("Expert z bufetu to vie.\n"); Node *root = load_tree(&item_count); if (root == NULL) {