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"); } } }