A man counted his animals, 80 heads and 250 legs (ducks and goats). how many goats are there?  Choose the correct choice from the following answers.
A) 30 B) 40 C) 50 D) 45 E) 70
let no of ducks=d and no of goat=g   d+g=80(heads)----------&gt; eq 1   each duck has 2 legs and goat has 4 legs   2d+4g=250 and divide 2d+4g=250 by 2 we get d+2g=125 -----------&gt; eq2   subtract eq1 from eq2   we get no of goats=45   ANSWER:45
<result>D</result>
A man counted his animals, 80 heads and 250 legs (ducks and goats). how many goats are there?