Update cv7/program.c
This commit is contained in:
parent
a2fc961506
commit
cd502360a7
@ -93,7 +93,7 @@ void ask_question(Node *node) {
|
|||||||
while (1) {
|
while (1) {
|
||||||
response = getchar();
|
response = getchar();
|
||||||
getchar(); // To capture newline
|
getchar(); // To capture newline
|
||||||
if (response == 'a') {
|
if (response == 'n') {
|
||||||
ask_question(node->yes);
|
ask_question(node->yes);
|
||||||
break;
|
break;
|
||||||
} else if (response == 'n') {
|
} else if (response == 'n') {
|
||||||
|
Loading…
Reference in New Issue
Block a user