Answer E is correct. If you are getting C as a answer you must have done below mistake :-
When B leaves, A has to work for 4 days to complete the work ----> WRONG (A is working 10 days to complete the remaining work)Let's understand from example -
Let, Total work = 240, then, Rate of A = 240/60 = 4 & Rate of B = 240/40 = 6
Rate of A+B = 10
If A & B both work simultaneously then their rate will be 10 and they take 24 days to complete the work ----
This is the schedule.Now, B leaver 4 days before, as per schedule. So, Both A&B Worked till 20 days and then B left. Work done in 20 days = 20*10 = 200
Remaining work = 240 - 200 = 40
Now, A only has to work and work left is 40. Hence A will take 10 days to complete. Sum of days = 20+10 = 30 days
Main statement to consider - A is not working 4 days to complete remaining work. It will take 4 days to complete the remaining work, only if, A&B both work. But since only A has to work, it will take more days.
Ters
I got to answer C and see that there are multiple people getting C in a similar manner, would you please explain why the answer is E?