12dsddddd
This commit is contained in:
parent
2ba85cf291
commit
bfdda7f5b4
@ -59,8 +59,6 @@ void run(struct tree* t) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
|
|
||||||
|
|
||||||
char c;
|
char c;
|
||||||
if (scanf(" %c", &c) != 1) {
|
if (scanf(" %c", &c) != 1) {
|
||||||
printf("Chyba\n");
|
printf("Chyba\n");
|
||||||
@ -92,6 +90,7 @@ int main() {
|
|||||||
|
|
||||||
printf("Expert z bufetu to vie.\n");
|
printf("Expert z bufetu to vie.\n");
|
||||||
printf("Pozna %d druhov ovocia a zeleniny.\n", count_items);
|
printf("Pozna %d druhov ovocia a zeleniny.\n", count_items);
|
||||||
|
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
|
||||||
|
|
||||||
run(root);
|
run(root);
|
||||||
destroy_tree(root);
|
destroy_tree(root);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user