Answer: There are 8 snake and 3 elephants.
Explanation:
Let x= Number of snakes
y= Number of elephants
We know that , snake has no legs elephant has 4 legs.
Then, Total animals = x+y=11 (i)
Total legs = 4y = 12
⇒ y=3 .. (ii)[divide both sides by 4]
Substitute value of y from (ii) in (i) , we get

Hence, there are 8 snake and 3 elephants.