This commit is contained in:
Ivan Leichenko 2024-11-15 06:41:21 +01:00
parent c46c5efb01
commit bfe0c39b02

View File

@ -118,6 +118,7 @@ void interact(struct tree *node)
int main() int main()
{ {
struct tree *root = read_tree(); struct tree *root = read_tree();
getchar();
printf("Expert z bufetu to vie.\n"); printf("Expert z bufetu to vie.\n");
printf("Pozna %d druhov ovocia a zeleniny.\n", count_leaf_nodes(root)); printf("Pozna %d druhov ovocia a zeleniny.\n", count_leaf_nodes(root));
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");