Initializacia
This commit is contained in:
parent
9ba09a9a3a
commit
7f3b454756
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user