Update cv7/program.c
This commit is contained in:
parent
04b91e7d5d
commit
2b8352f725
@ -71,7 +71,7 @@ Node* parse_rules() {
|
|||||||
void ask_question(Node *node) {
|
void ask_question(Node *node) {
|
||||||
if (!node) return;
|
if (!node) return;
|
||||||
if (node->yes == NULL && node->no == NULL) {
|
if (node->yes == NULL && node->no == NULL) {
|
||||||
printf("*%s\n", node->content);
|
printf("* %s\n", node->content);
|
||||||
printf("Koniec\n");
|
printf("Koniec\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -89,8 +89,7 @@ void ask_question(Node *node) {
|
|||||||
ask_question(node->no);
|
ask_question(node->no);
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
printf("Neplatna odpoved, koniec.\n");
|
printf("Nerozumiem\n");
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user