First line: Print some spaces and then the root node and then the new line character.
Second line: spaces Node spaces node spaces node spaces node new line
etc
If you understand where the node's...
Type: Posts; User: Norm
First line: Print some spaces and then the root node and then the new line character.
Second line: spaces Node spaces node spaces node spaces node new line
etc
If you understand where the node's...
This looks like you need to take a piece of paper and mark where the output should go on each line.
Then come up with an equation to compute the number of leading spaces and the number of...
The print outs need to have the required number of leading spaces and intervening spaces.
This looks like you need to take a piece of paper and mark where the output should go on each line.
Then...
You don't say if that is the output you are looking for?
If not, please explain what is wrong with it and show how you want it to look.
What is the posted code supposed to do? Half of it is...
Still waiting for questions about the problems you are having writing the code.
Where are your questions?
Please wrap your code in code tags. See Go Advanced and the # icon
Please post your code with your questions about how to code the algorithm you are trying to implement.