A farmer owns a certain number of hens and cows. If the total count of heads is 48 and the total number of legs is 140, how many hens does he have?
Explanation
Let the number of hens be H and the number of cows be C. Since each animal has one head, H + C = 48. Each hen has 2 legs and each cow has 4 legs, so 2H + 4C = 140. Solving these equations, we find H = 26.