Answer:
The time to boil the water is 877 s
Explanation:
The first thing we must do is calculate the external resistance (R) of the circuit, from the description we notice that it is a series circuit, by which the resistors are added
  V = i (r + R)
We replace we calculate
   r + R = V / i
   R = v / i - r
   R = 10/12 -0.04
   R = 0.793 Ω
We calculate the power supplied
   P = V i = I² R
   P = 12² 0.793
   P = 114 W
This is the power dissipated in the external resistance
We use the relationship, that power is work per unit of time and that work is the variation of energy
   P = E / t
   t = E / P
   t = 100 10³/114
   t = 877 s
The time to boil the water is 877 s