a man has some hens and cows. if the number of heads be 50 and the number of feet equals 160, then the number of hens will be:	Choose the correct choice from the following answers:  A) 22  B) 23  C) 24  D) 20  E) 28
<gadget id="calculator">50 * 4</gadget>
<output>200</output>

<gadget id="calculator">200 - 160</gadget>
<output>40</output>

<gadget id="calculator">40 / 2</gadget>
<output>20</output>

<result>D</result>
a man has some hens and cows. if the number of heads be 50 and the number of feet equals 160, then the number of hens will be:
divide(subtract(multiply(50, const_4), 160), const_2)
"explanation : let the number of hens be x and the number of cows be y . then , x + y = 50 . . . . ( i ) and 2 x + 4 y = 160 x + 2 y = 80 . . . . ( ii ) solving ( i ) and ( ii ) we get : x = 20 , y = 30 the required answer = 20 . answer : d"