Suppose Jill has a network of friends who sell Avon at Avon parties they have once a week at their own homes.
Each person makes a net profit of $20.00 from their own sales at their own party.
The network is in the form of a tree with four levels with Jill at the top with two people branching from each person up to level 4.
(Jill is level 1, the two friends below her are level 2, the four friends below them are level 3,
and the 8 friends below them are level 4).
Now suppose each person in the network gets 15% of the net profit of each of the two people below them
in the network in addition to there own Avon sales.
How much will Jill make in one week?
Code:
a------------ Jill -------------b
| |
c ------*------ d e ------*------ f
| | | |
*---*---* *---*---* *---*---* *---*---*
| | | | | | | |
g h i j k l m n