Update 'cv8/program.c'
This commit is contained in:
parent
2fe584abca
commit
a24ed29678
@ -96,6 +96,12 @@ void knowledge_system(struct tree* node) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (node->left == NULL && node->right == NULL) {
|
||||||
|
printf("\nJe to ovocie alebo zelenina\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
printf("%s", node->v);
|
printf("%s", node->v);
|
||||||
if (node->left == NULL && node->right == NULL) {
|
if (node->left == NULL && node->right == NULL) {
|
||||||
printf("Koniec\n");
|
printf("Koniec\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user