Final answer:
The problem can be solved using basic mathematical inequalities. If the number of legs that Rahul counted falls within this range, his count could be correct. The operational range is obtained considering that each person (adult or kid) contributes 2 legs, and each adult can carry at most 2 kids.
Step-by-step explanation:
This problem boils down to a mathematical equation. We can start by considering that each adult and each kid have 2 legs. But since some of the kids might be riding on the backs of the adults, not all of their legs would be counted. A single adult can carry at most 2 kids.
Let's assume C as the number of adults, D as the number of kids and L as the number of legs counted. Each adult contributes 2 legs, so the minimum count of legs would be 2*C. The maximum count of legs would be 2*(C+D) as each person, whether a kid or an adult, has 2 legs.
We can then create the following inequality to validate Rahul's count: if 2*C <= L <= 2*(C+D), then Rahul's count could be correct. If the number of legs counted, L, falls within this range, we can say 'Yes'. If L falls outside of this range, we can say 'No'.
Learn more about Inequality problem