12dsddddd

This commit is contained in:
Denis Landa 2025-11-20 21:53:46 +01:00
parent 2ba85cf291
commit bfdda7f5b4

View File

@ -59,8 +59,6 @@ void run(struct tree* t) {
return;
}
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
char c;
if (scanf(" %c", &c) != 1) {
printf("Chyba\n");
@ -92,6 +90,7 @@ int main() {
printf("Expert z bufetu to vie.\n");
printf("Pozna %d druhov ovocia a zeleniny.\n", count_items);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
run(root);
destroy_tree(root);