Let the three-digit number be $abc$, where $a \in \{1, 2, \dots, 9\}$, $b \in \{0, 1, \dots, 9\}$, and $c \in \{0, 1, \dots, 9\}$. The condition is: \[ b = \dfrac{a + c}{2} \iff a + c = 2b. \] For $b$ to be an integer, $a$ and $c$ must have the same parity (both odd or both even). Once $a$ and $c$ are chosen with the same parity, $b = \dfrac{a + c}{2}$ is an integer satisfying $0 \leqslant b \leqslant 9$, so $b$ is uniquely determined. Case 1: $a$ and $c$ are both odd. The first digit $a$ can be any of the $5$ odd digits $\{1, 3, 5, 7, 9\}$. The last digit $c$ can be any of the $5$ odd digits $\{1, 3, 5, 7, 9\}$. This gives $5 \times 5 = 25$ choices. Case 2: $a$ and $c$ are both even. Since $a \ne 0$, $a$ can be any of the $4$ even digits $\{2, 4, 6, 8\}$. The last digit $c$ can be any of the $5$ even digits $\{0, 2, 4, 6, 8\}$. This gives $4 \times 5 = 20$ choices. The total number of such three-digit numbers is: \[ 25 + 20 = 45. \]