Wrong answer for test cases in tree

Sample output is correct but i am getting wrong answer for my testcases. plzz rectify my code.
code link : https://ide.codingblocks.com/s/105208

please modify your take input…you are taking ilo and ihi…along with this take plo and phi as well

i think with the help of ilo and ihi i am able to create my tree then why should i take another two parameters plo and phi??

Doubt resolved on chat

yeah i have already clicked on doubt resolve button.