Whenever I enter false for any node having left sub node , the code runs over all the other input statements.
code : https://ide.codingblocks.com/s/104195
driver code :https://ide.codingblocks.com/s/104196
test output :
Enter Data for Root node
50
Do you have left child of 50
false
Do you have right child of this node 50
End =>50<=End