buffet
This commit is contained in:
parent
6edcf36f10
commit
d2a173a719
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user