Hi guys, I did this program, its BST, its a homework, but I got some error, could anyone look at it? thx a lot

What’s wrong:
- I compiled program, then I did press 0 (inicialization), then 1 (insert data)
- I put some data there (that’s fine)
- I tried preorder, inorder and postorder traversal and it’s writing, Bin. tree is empty! + data
- (for example: Data: 23, 45, 56, 78, 90)
Preorder traversal:
23
Bin. tree is empty!
45
Bin. tree is empty!
56
Bin. tree is empty!
78
Bin. tree is empty!
90
Bin. tree is empty!
Bin. tree is empty!

I tried delete node even whole tree, but there are some errors!!