If in a group of goats and hens the number of legs is 24 more than the twice the number of heads, then the number of goats in the group is
12
Let x be the number of goats and y be the number of hens, then
Number of legs=4x+2y
Number of heads=x+y
Acc. To the given condition
4x+2y=2(x+y)+24
⇒ 2x = 24
⇒ x = 12