This commit is contained in:
Maryna Kravtsova 2020-11-21 16:32:04 +01:00
parent ecbf7e1b89
commit 437b0b7d19

View File

@ -101,12 +101,14 @@ int count_l(struct tree* node){
int main(){
printf("Expert z bufetu to vie\n");
printf("Pozna 2 druhov ovocia a zeleniny\n");
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
struct tree* tree = NULL;
tree = read_tree();
int count = count_l(tree);
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");
//print_tree(tree, 3);
//display(tree);
destroy_tree(tree);