$ 0 0 Actually it is not maintain in this case . Its just test case given to me . If only one area is also there then also have to put same logic for that . I will show you one case of that subareas Here you can see the whole requirement of mine.