From 524392df59c88f693affc2ee038111fe3981181b Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Sun, 22 Nov 2020 15:00:35 +0100 Subject: [PATCH] buffet --- cv8/program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }