From cd502360a7410d2d19c9ec0fb77fb3ad98c96f05 Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Wed, 13 Nov 2024 21:14:31 +0000 Subject: [PATCH] Update cv7/program.c --- cv7/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv7/program.c b/cv7/program.c index ebc839d..c922904 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -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') {