Print BST in given range


whats wrong in this code

You are not forming the bst correctly.
You have to follow the normal bst insertion.
Refer this https://ide.codingblocks.com/s/291585


it still not passing test case

Put an endl after line 68 and then check.
At the end of each test case, you must come to the next line