This commit is contained in:
Maryna Kravtsova 2020-11-22 16:15:04 +01:00
parent 6edcf36f10
commit d2a173a719

View File

@ -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;
}