diff --git a/cv8/program.c b/cv8/program.c index ca8869e..dc185c1 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -132,13 +132,14 @@ int main(){ struct tree* tree = NULL; tree = read_tree(); int count = count_leaves(tree); - //print_tree(tree, 3); + printf("Expert z bufetu to vie.\n"); printf("Pozna %d druhov ovocia a zeleniny.\n", count); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); + printf("%s\n", tree->value); search(tree); - destroy_tree(tree); + //destroy_tree(tree); printf("Koniec\n"); return 0; }