This commit is contained in:
Your Name 2025-11-20 15:27:08 +01:00
parent 790e39dfe2
commit 84dde9a97d

View File

@ -81,7 +81,6 @@ void run_knowledge_system(struct tree* node) {
return;
}
}
printf("Koniec\n");
return;
}
@ -104,7 +103,7 @@ int main() {
printf("Pozna %d druhov ovocia a zeleniny.\n", answer_count);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
run_knowledge_system(knowledge_base);
printf("Koniec\n");
destroy_tree(knowledge_base);
return 0;
}