A barn contains only chickens and cows. Looking inside, you count 30 heads and 84 legs in total. How many cows are in the barn?
12 cows
Let C be chickens and W be cows. C + W = 30 and 2C + 4W = 84. Multiplying the first equation by 2 gives 2C + 2W = 60. Subtracting this from the second equation yields 2W = 24, so W = 12 cows.
About this riddle
Math riddles hide a calculation inside a short story. Pull out the numbers, work out what is being asked, and watch for a trick such as a unit change.
Difficulty: Medium. More like this: Math riddles with answers or try Target 24 for a different kind of puzzle.
More math riddles
If you double me and subtract four, the answer is identical to what you get if you halve me and add eight. What number am I?
Leo counts calendars in a pattern: 2, 4, 6, 8. How many calendars come next?
If 3 workers can dig 3 identical ditches in 3 days, how many days will it take 6 workers to dig 12 identical ditches at the exact same pace?
Ben puts 6 snowmen in each of 4 boxes. How many snowmen is that altogether?
3 elves each wrap 8 presents an hour. How many presents do they wrap in 2 hours?
Ida counts ice cream cones in a pattern: 1, 3, 5, 7. How many ice cream cones come next?

