Delete node from bst

My code is not showing correct Output.
In the code first i search the node and then calling delete function to delete .
But the output is not correct.
plz check the code and kindly make changes accordingly and let me know the mistake.

problem : https://online.codingblocks.com/app/player/39658/content/55448/5293/code-challenge?code=qeuB2Bt5L0ejFcJ2bokX0vHq5FyYgQBy

code : https://ide.codingblocks.com/s/195928