Aktualizovat du6/program.c

This commit is contained in:
Mykola Syniavskyi 2025-11-20 20:07:55 +00:00
parent 98100eaafc
commit 17c500531f

View File

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