This commit is contained in:
Jana Kapalková 2026-04-16 14:09:44 +02:00
parent 47805e95d4
commit 9d6d5a897b

View File

@ -47,7 +47,7 @@ void run_system(struct Node* node) {
if (node == NULL) return; if (node == NULL) return;
printf("%s", node->value); printf("%s", node->value);
if (node->left == NULL && node->right == NULL) { if (node->left == NULL && node->right == NULL) {
printf("Koniec vstupu\n"); printf("Koniec\n");
return; return;
} }
char answer[SIZE]; char answer[SIZE];
@ -80,5 +80,6 @@ int main(void) {
run_system(root); run_system(root);
destroy_tree(root); destroy_tree(root);
return 0; return 0;
} }