diff --git a/cv7/program.c b/cv7/program.c index 1691ee3..ebc839d 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -76,8 +76,18 @@ void ask_question(Node *node) { return; } - printf("%s\n", node->content); - printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); + // Print the current question + printf("%s?\n", node->content); + if (node->yes) { + printf("* %s\n", node->yes->content); + } + if (node->no) { + printf("* %s\n", node->no->content); + } + + // Prompt for input + printf("\n"); + printf("n\n"); char response; while (1) {