Click here to Skip to main content
15,923,168 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Ok. I'll explain. That means multilevel marketing. In this a member register in that site with a sponsor. At this time, sponsor has get Rs. for registering that member. And the sponsor can contribute so many members like this. each time sponsor get Rs. for registration. But directly he has chance for contributing 3 members. And members has also the permission for contribution of anyone.
the tree like the following:
                             sponsor

        memb 1                memb2                   memb3

mem4   mem5   mem6      mem7    mem8  mem9      mem10 mem11 mem12

Dynamic tree is like this. How can I create this?
Posted
Updated 5-Feb-11 0:40am
v4
Comments
OriginalGriff 5-Feb-11 4:18am    
Well, you could start by making your question a bit clearer.
Please edit it and explain in more detail what you have a problem with.

1 solution

If the number of 'child' nodes is 3 this is called a ternary tree.

Do a search for that plus the name of your preferred language (e.g. 'java ternary tree') and you will find lots of help.
 
Share this answer
 
Comments
jaheena 7-Feb-11 5:13am    
Asp.net c# script
Henry Minute 7-Feb-11 7:43am    
Then search for 'c# ternary tree'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900