Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-13 21:14:31 +00:00
parent a2fc961506
commit cd502360a7

View File

@ -93,7 +93,7 @@ void ask_question(Node *node) {
while (1) {
response = getchar();
getchar(); // To capture newline
if (response == 'a') {
if (response == 'n') {
ask_question(node->yes);
break;
} else if (response == 'n') {