Answer:
68 chickens and 12 cows.
Step-by-step explanation:
Let x represents the number of chicken and y represents the number of cows in the barnyard,
Given,
Total heads = 80
⇒ x + y = 80 ------(1),
Also, total legs = 184,
Since, a chicken has two legs and cow has 4 legs,
⇒ 2x + 4y = 184 -----(2),
Equation (2) - 2 × equation (1),
We get,
4y - 2y = 184 - 160
2y = 24
y = 12
From equation (1),
x + 12 = 80 ⇒ x = 80 - 12 = 68
Hence, the number of chicken = 68,
And, the number of cows = 12