Aktualizovat du6/program.c
This commit is contained in:
parent
511b43ce7d
commit
2ebd52214e
@ -102,7 +102,7 @@ int main() {
|
||||
int counter=0; //нумерація вузлів
|
||||
struct tree* root =read_tree(&counter);
|
||||
char check[SIZE];
|
||||
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
if (!fgets(check, SIZE, stdin) ||
|
||||
!(check[0]=='\n' || check[0]=='\r')) {
|
||||
printf("Chybna databaza\n");
|
||||
@ -112,7 +112,7 @@ int main() {
|
||||
|
||||
int leaves = count_leaves(root);
|
||||
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
|
||||
printf("Pozna %d druhov ovocia a zeleniny.\n", leaves);
|
||||
|
||||
run_system(root);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user