From 0261fe824dbd6f8b29070521234a099252941efc Mon Sep 17 00:00:00 2001 From: Deinerovych Date: Wed, 6 Nov 2024 10:34:12 +0100 Subject: [PATCH] 14 --- cv7/program.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cv7/program.c b/cv7/program.c index e22a679..357d17a 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -58,6 +58,8 @@ void run_expert_system(Node *node) { // Выводим текущий вопрос printf("%s\n", node->text); + + // Выводим приглашение для ответа printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); char answer; @@ -82,6 +84,7 @@ void run_expert_system(Node *node) { + void free_tree(Node *node) { if (node) { free_tree(node->yes);