cv7
This commit is contained in:
parent
64aaf27501
commit
c3b0608315
@ -51,7 +51,7 @@ void free_tree(Node *node) {
|
||||
void run_system(Node *node) {
|
||||
while (node) {
|
||||
if (node->yes == NULL && node->no == NULL) {
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
|
||||
printf("* %s\n", node->text);
|
||||
printf("Koniec\n");
|
||||
break;
|
||||
@ -74,7 +74,7 @@ void run_system(Node *node) {
|
||||
|
||||
int main() {
|
||||
int item_count = 0;
|
||||
printf("Načítajte bázu znalostí:\n");
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
Node *root = load_tree(&item_count);
|
||||
|
||||
if (root == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user