Update cv7/program.c
This commit is contained in:
parent
a2fc961506
commit
cd502360a7
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user