This commit is contained in:
Bohdan Kapliuk 2024-11-11 14:15:57 +02:00
parent 56f3b370d8
commit d2224d146f

View File

@ -52,7 +52,6 @@ void print_tree(struct tree* tree,int offset){
} }
getchar(); getchar();
char r = getchar(); char r = getchar();
getchar();
if (r == 'a') { if (r == 'a') {
print_tree(tree->left, offset + 3); print_tree(tree->left, offset + 3);
} else if (r == 'n') { } else if (r == 'n') {