diff --git a/cv8/program.c b/cv8/program.c index 4a62ade..cab1a4e 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -110,9 +110,10 @@ int main(){ 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); + printf("%s\n", tree->value); tree = search(tree); - //destroy_tree(tree); + + destroy_tree(tree); printf("Koniec\n"); return 0; }