From 2b8352f725bc0d173301e980b3a3695cfb8e8077 Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Wed, 13 Nov 2024 21:22:03 +0000 Subject: [PATCH] Update cv7/program.c --- cv7/program.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index ab48413..799ff5a 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -71,7 +71,7 @@ Node* parse_rules() { void ask_question(Node *node) { if (!node) return; if (node->yes == NULL && node->no == NULL) { - printf("*%s\n", node->content); + printf("* %s\n", node->content); printf("Koniec\n"); return; } @@ -89,8 +89,7 @@ void ask_question(Node *node) { ask_question(node->no); break; } else { - printf("Neplatna odpoved, koniec.\n"); - break; + printf("Nerozumiem\n"); } } }