outputTree
to display a binary
tree object on the screen.
99
97
92
83
72
71
69
49
44
40
32
28
19
18
11
outputTree
should receive an argument
pos
representing the
position where the value to be output. This variable should start at
zero, so the root node is output at the left of the screen.
outputTree
with the current node's right
subtree and pos+5
pos
spaces
outputTree
with the current node's left
subtree and pos+5