john purchased some shirts and trousers for $ 800. he paid $ 400 less for the shirts than he did for the trousers. if he bought 5 shirts and the cost of a shirt is $ 20 less than that of a trouser, how many trousers did he buy?
Choose one
A) 4
B) 5
C) 6
D) 7
E) 10
<gadget id="calculator">20 + 20</gadget>
<output>40</output>

<gadget id="calculator">5 * 40</gadget>
<output>200</output>

<gadget id="calculator">800 - 200</gadget>
<output>600</output>

<gadget id="calculator">40 + 20</gadget>
<output>60</output>

<gadget id="calculator">600 / 60</gadget>
<output>10</output>

<result>E</result>
john purchased some shirts and trousers for $ 800. he paid $ 400 less for the shirts than he did for the trousers. if he bought 5 shirts and the cost of a shirt is $ 20 less than that of a trouser, how many trousers did he buy?
divide(subtract(800, multiply(5, add(20, 20))), add(add(20, 20), 20))
given that the total purchase of two items cost 800 . so the average purchase of one item will cost 800 / 2 = 400 . its given as total shirt cost 400 $ less . hence total shirt cost = 400 - 200 and total trouser cost = 400 + 200 5 shirts = 200 $ = = > one shirt = 40 $ one trouser = 40 + 20 = 60 $ total trousers = 600 / 60 = 10 . e