6
This commit is contained in:
parent
21c800482f
commit
7bd6f0c84f
@ -50,7 +50,9 @@ int count_products(Node *node) {
|
|||||||
void run_expert_system(Node *node) {
|
void run_expert_system(Node *node) {
|
||||||
while (node) {
|
while (node) {
|
||||||
if (!node->yes && !node->no) {
|
if (!node->yes && !node->no) {
|
||||||
printf("Expert z bufetu to vie: %s.\n", node->text);
|
printf("Expert z bufetu to vie.\n");
|
||||||
|
printf("*%s\n", node->text);
|
||||||
|
printf("Koniec\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
printf("%s\n", node->text);
|
printf("%s\n", node->text);
|
||||||
|
Loading…
Reference in New Issue
Block a user