Aktualizovat du6/program.c
This commit is contained in:
parent
6fe7e42ebc
commit
d8ad34d126
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user