A store sold a certain brand of jeans for $40. They only have few pairs of jeans left so they decided to give 10% discount on every two pairs of jeans bought by a customer at any one time. How much will a customer pay for 3 pairs of jeans?
Two pairs of jeans cost $40 x 2 = $
<gadget id="calculator">40*2</gadget>
<output>80</output>
80.
A discount of $80 x 10/100 = $
<gadget id="calculator">80*10/100</gadget>
<output>8</output>
8 will be given for this.
Hence, the cost of two pairs of jeans will now be $80 - $8 = $
<gadget id="calculator">80-8</gadget>
<output>72</output>
72.
Therefore, the customer will pay $72 + $40 = $
<gadget id="calculator">72+40</gadget>
<output>112</output>
112 for the three pairs of jeans.

<result>112</result>