diff --git a/cv7/program.c b/cv7/program.c index b8e0cfe..63ac077 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -38,12 +38,13 @@ void run_tree(struct tree* tree) { return; } + printf("%s\n", tree->value); + if (tree->value[0] == '*') { - printf("*%s\nKoniec\n", tree->value + 1); + printf("Koniec\n"); return; } - printf("%s\n", tree->value); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); char response;