Aktualizovat du6/program.c

This commit is contained in:
Mykola Syniavskyi 2025-11-20 20:09:06 +00:00
parent 17c500531f
commit bf08169fec

View File

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