Update cv7/program.c
This commit is contained in:
parent
2d1862f3ca
commit
f677e35a6a
@ -81,15 +81,21 @@ void destroy_tree(struct tree* tree){
|
||||
int main(void)
|
||||
{
|
||||
|
||||
struct tree *tr;
|
||||
struct tree *tr=NULL;
|
||||
|
||||
tr=read_tree();
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
if(tr==NULL)
|
||||
{
|
||||
printf("Chybna databaza\n");
|
||||
return 0;
|
||||
}
|
||||
int kk;
|
||||
char t;
|
||||
|
||||
kk=kkk(tr,0);
|
||||
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
|
||||
printf("Pozna %d druhov ovocia a zeleniny.\n", kk);
|
||||
|
||||
struct tree *p=tr;
|
||||
@ -134,3 +140,4 @@ int main(void)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user