This commit is contained in:
Bohdan Kapliuk 2024-11-14 14:31:44 +02:00
parent 4022194ae5
commit b0f9182cd2

View File

@ -66,12 +66,10 @@ void print_tree(struct tree* tree) {
int main() {
int counter = 0;
struct tree* root = read_tree(&counter);
if(root != 0){
printf("Expert z bufetu to vie.\n");
printf("Pozna %d druhov ovocia a zeleniny.\n", counter);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
print_tree(root);
}
destroy_tree(root);
return 0;
}