Initializacia
This commit is contained in:
parent
ed485b28e3
commit
ad59e52100
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user