Обновить cv7/program.c
This commit is contained in:
parent
49ff909102
commit
b7fcff4650
@ -58,7 +58,7 @@ int ask_question(Node *node) {
|
||||
|
||||
char answer;
|
||||
if (scanf(" %c", &answer) != 1 || (answer != 'a' && answer != 'n')) {
|
||||
printf("Koniec vstupu\n");
|
||||
printf("Nerozumiem\n");
|
||||
return 0; // Завершаем программу при неверном вводе.
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user