diff --git a/cv7/program.c b/cv7/program.c index 0692f46..c8f3a37 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -80,7 +80,7 @@ void interact(struct tree *node) return; } - printf("%s (a/n) ?\n", node->value); + printf("%s\n", node->value); if (node->left == NULL && node->right == NULL) { @@ -111,7 +111,9 @@ void interact(struct tree *node) int main() { struct tree *root = read_tree(); - + 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"); if (root == NULL) { printf("Chyba pri nacitani databazy pravidiel.\n");