16 + 24 + 12 + x + 1.4x = 100
52 + 2.4x = 100
2.4x = 48
x = 20
1.4x = 28
Percentage of number of persons visited temple on Wednesday = 20%
Percentage of number of persons visited temple on Thursday = 28%
Let the total number of persons visited on all 5 days = n
Number of persons visited on Wednesday = 20% of n
Number of persons visited on Thursday = 28% of n
According to question,
(28 - 20)% of n = 880
8% of n = 880
n = 11000
Total number of persons visited on Wednesday = 11000 * 20/100 = 2200
Let number of female = p
number of male = 1.2p
p + 1.2p = 2200
2.2p = 2200
p = 1000
Number of persons visited on Thursday = 28% of 11000 = 3080
Number of male visited on Thursday = 3080 * 1/2 = 1540
Required number = 1000 + 1540 = 2540