Skip to main content

Draw the tree in java

No replies
sugir1987
Offline
Joined: 2012-01-17
Points: 0

Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After that we want to calculate the average of children and create a parent which average of children.Like following tree.