Let the resistance \( R \) be connected in parallel with the galvanometer. The total resistance in the circuit becomes the resistance of the galvanometer \( G \) in parallel with \( R \).
We are given:
- The full scale deflection current of the galvanometer is 5 mA \( (I_g = 5 \, \text{mA} = 0.005 \, \text{A}) \),
- The range of the ammeter is 0-5 A,
- The resistance of the galvanometer \( G = 99.9 \, \Omega \).
The ammeter is designed for a range of 0-5 A, so the total resistance required in the circuit is:
\[
R_{total} = \frac{V}{I_{max}} = \frac{I_g \times G}{I_g - I_{max}} = \frac{(0.005 \, \text{A}) \times (99.9 \, \Omega)}{0.005 - 5}
\]
Calculating this value gives \( R \approx 0.1 \, \Omega \).
Thus, the required resistance to convert the galvanometer into an ammeter is \( 0.1 \, \Omega \).