Uluthando needs your help to plant some trees. He can give you three parameters of the land:
- width of the land w - length of the land l - gap between the trees g You have to create an algorithm to return the number of trees which can be planted on the edges of the given land in a symmetrical layout shown below (unsymmetrical gap = x, tree = o, gap = -):