Update cv7/program.c
This commit is contained in:
parent
2b8352f725
commit
ad35043de4
@ -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); // Removed extra space after "*"
|
||||||
printf("Koniec\n");
|
printf("Koniec\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -94,6 +94,7 @@ void ask_question(Node *node) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf("Expert z bufetu to vie.\n");
|
printf("Expert z bufetu to vie.\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user