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