Initializacia

This commit is contained in:
Kozar 2024-11-10 14:51:44 +00:00
parent ed485b28e3
commit ad59e52100

View File

@ -37,7 +37,7 @@ void print_tree(struct tree* tree,int offset){
for (int i = 0; i < offset; i++){ for (int i = 0; i < offset; i++){
printf(" "); printf(" ");
} }
printf("%s",tree->question); printf("%s", tree->value);
if (tree->left){ if (tree->left){
print_tree(tree->left, offset + 3); print_tree(tree->left, offset + 3);
print_tree(tree->right, offset + 3); print_tree(tree->right, offset + 3);