Learn basic concept of c , c++ and python programming in regularcodes.com

Spread the post

Output
 
 Enter new Node(y/n):-y

 Enter data:-100

 Enter new Node(y/n):-y

 Enter data:-50

 Enter new Node(y/n):-y

 Enter data:-75

 Enter new Node(y/n):-y

 Enter data:-70

 Enter new Node(y/n):-y

 Enter data:-25

 Enter new Node(y/n):-y

 Enter data:-30

 Enter new Node(y/n):-y

 Enter data:-15

 Enter new Node(y/n):-y

 Enter data:-20

 Enter new Node(y/n):-y

 Enter data:-10

 Enter new Node(y/n):-n

 Tree data is:-   10  15  20  25  30  50  70  75  100
 Right View is : 20 70 75 50 100
 Free Memory

--------------------------------

Press any key to continue . . . 

Spread the post