diff --git a/cv7/program.c b/cv7/program.c index a31b696..f4bf529 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -118,6 +118,7 @@ void interact(struct tree *node) int main() { struct tree *root = read_tree(); + getchar(); printf("Expert z bufetu to vie.\n"); printf("Pozna %d druhov ovocia a zeleniny.\n", count_leaf_nodes(root)); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");