diff --git a/du6/program.c b/du6/program.c index a50e9ae..0d6e518 100644 --- a/du6/program.c +++ b/du6/program.c @@ -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; } }