Simple program to insert an element into a tree, I wrote in c++: #include #include #include // Define the variables used to store the data // Use struct, or also you can use arrays to store values into a tree. // use a struct if you dont know how many elements you would be //