The total work is equivalent to completing 1 full task. The rates at which A and B work are:
\[ A = \frac{1}{10}, \quad B = \frac{1}{15} \]
Since A and B work on alternate days, their combined work in two days is:
\[ \frac{1}{10} + \frac{1}{15} = \frac{3}{30} + \frac{2}{30} = \frac{5}{30} = \frac{1}{6} \]
In 12 days (which includes 6 cycles of 2 days), they complete:
\[ 6 \times \frac{1}{6} = 1 \]
The total number of days required to complete the work is 12.
Correct answer: (B) 12.