I think in my code i am doing something wrong with my takeinput() can plzz someone rectify the error.
code link : https://ide.codingblocks.com/s/103971
Unable to take input in the question
hi himanshu,
Your take input is correct.
if still doubt persists try to display tree and revert back here.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.