BinaryTree PreOrder/PostOrder/InOrder Print

What’s the error in my code? I Can’t able to print “Right Sub Trees”

My Code: