Initializacia

This commit is contained in:
Kozar 2024-11-10 15:43:02 +00:00
parent 9ba09a9a3a
commit 7f3b454756

View File

@ -42,7 +42,7 @@ void run_tree(struct tree* tree) {
}
if (tree->value[0] == '*') {
printf("Expert z bufetu to vie.\n*%s\nKoniec\n", tree->value + 1);
printf("*%s\nKoniec\n", tree->value + 1);
return;
}
@ -89,6 +89,7 @@ int main() {
int count = 0;
count_items(root, &count);
printf("Expert z bufetu to vie.\n");
printf("Pozna %d druhov ovocia a zeleniny.\n", count);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");