Aktualizovat du5/program.c
This commit is contained in:
parent
fa4ba54c99
commit
cf7005a04e
@ -117,14 +117,14 @@ int main()
|
||||
lineCount += 1;
|
||||
}
|
||||
|
||||
//zisk. korena
|
||||
int root = buildATree();
|
||||
|
||||
if (root == -1)
|
||||
if (answerCount == 0)
|
||||
{
|
||||
printf("Koniec vstupu.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
//zisk. korena
|
||||
int root = buildATree();
|
||||
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
printf("Pozna %d druhov ovocia a zeleniny.\n", answerCount);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user