This commit is contained in:
Maksym Kovalchuk 2026-04-16 15:13:14 +00:00
parent 2c93cdb5d4
commit 37816a8709

View File

@ -78,7 +78,7 @@ void start(Tree *node) {
while (node != NULL) { while (node != NULL) {
if (node->isAnswer) { if (node->isAnswer) {
printf("*%s\n", node->text); printf("* %s\n", node->text);
printf("Koniec\n"); printf("Koniec\n");
return; return;
} }
@ -86,7 +86,7 @@ void start(Tree *node) {
printf("%s\n", node->text); printf("%s\n", node->text);
if (fgets(input, 10, stdin) == NULL) { if (fgets(input, 10, stdin) == NULL) {
printf("Koniec vstupu\n"); printf("Koniec\n");
return; return;
} }