Обновить cv7/program.c

This commit is contained in:
Yevhen Kozirovskyi 2024-11-15 03:59:45 +00:00
parent 7314d2bbdb
commit 9b1b886f40

View File

@ -50,7 +50,6 @@ void ask_question(Node *node) {
if (node == NULL) return;
if (node->text[0] == '*') {
printf("Expert z bufetu to vie.\n");
printf("%s", node->text);
return;
}
@ -80,7 +79,7 @@ int main() {
printf("Chyba pri nacitani bazy pravidiel.\n");
return 1;
}
printf("Expert z bufetu to vie.\n");
int item_count = count_items(root);
printf("Pozna %d druhov ovocia a zeleniny.\n", item_count);