Aktualizovat du6/program.c

This commit is contained in:
Mykola Syniavskyi 2025-11-20 20:12:04 +00:00
parent 6fe7e42ebc
commit d8ad34d126

View File

@ -82,7 +82,7 @@ void run_system(struct tree* node) {
char c;
if (scanf(" %c", &c) != 1) {
printf("Nerozumiem\n");
printf("Koniec vstupu\n");
return;
}
@ -91,7 +91,7 @@ void run_system(struct tree* node) {
else if (c == 'n') //ні → вправо
node = node->right;
else {
printf("Koniec vstupu\n");
printf("Nerozumiem\n");
return;
}
}