Using Ohm's Law:
\[
V = IR
\]
Where:
- \( V \) is the voltage (10 V),
- \( I \) is the current (which we need to find),
- \( R \) is the resistance (5 ohms).
Rearranging the formula to solve for \( I \):
\[
I = \frac{V}{R}
\]
Substituting the values:
\[
I = \frac{10 \, \text{V}}{5 \, \Omega} = 2 \, \text{A}
\]
Thus, the current flowing through the resistor is \( 2.0 \, \text{A} \).