Обновить cv7/program.c
This commit is contained in:
parent
7314d2bbdb
commit
9b1b886f40
@ -50,7 +50,6 @@ void ask_question(Node *node) {
|
|||||||
if (node == NULL) return;
|
if (node == NULL) return;
|
||||||
|
|
||||||
if (node->text[0] == '*') {
|
if (node->text[0] == '*') {
|
||||||
printf("Expert z bufetu to vie.\n");
|
|
||||||
printf("%s", node->text);
|
printf("%s", node->text);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -80,7 +79,7 @@ int main() {
|
|||||||
printf("Chyba pri nacitani bazy pravidiel.\n");
|
printf("Chyba pri nacitani bazy pravidiel.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
printf("Expert z bufetu to vie.\n");
|
||||||
int item_count = count_items(root);
|
int item_count = count_items(root);
|
||||||
printf("Pozna %d druhov ovocia a zeleniny.\n", item_count);
|
printf("Pozna %d druhov ovocia a zeleniny.\n", item_count);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user