A and B can do a piece of work in 40 days and 40 days respectively. They work together for 10 days and B leaves. In how many days the whole work is completed? Choose the correct choice from the following:
A) 30days B) 35days C) 40days D) 45days E) 50days
Explanation:   (30days+B)’s 10 days work = 10[1/40+1/40]=10[1+1/40]= 1/2   30days complete remaining work in   1/2*40= 
<gadget id="calculator">  1/2*40</gadget>
<output>20</output>
20   Total work= 10+20= 
<gadget id="calculator">10+20</gadget>
<output>30</output>
30days   30daysnswer: Option 30days
<result>A</result>
A and B can do a piece of work in 40 days and 40 days respectively. They work together for 10 days and B leaves. In how many days the whole work is completed?