Inclusion Exclusion works here.
There are exactly $~900~$ numbers (i.e. elements) between $~100~$ and $~999,~$ inclusive. Let $~S~$ denote the set $~\{1,2,\cdots,999\}.$
For $~k \in \{1,2,3\},~$ let $~S_k~$ denote the subset of such elements that have a [0 or 5] in column $~k,~$ of the 3 digit number.
Then, you want $~|S_1 \cup S_2 \cup S_3|.~$
See this article for an
introduction to Inclusion-Exclusion.
Then, see this answer for an explanation of and justification for the Inclusion-Exclusion formula.
So, the desired computation is
$$|S_1| + |S_2| + |S_3| \\
- \left\{ ~|S_1 \cap S_2| + |S_1 \cap S_3| + |S_2 \cap S_3| ~\right\} \\
+ |S_1 \cap S_2 \cap S_3|.$$
Clearly $~S_3~$ which focuses on the rightmost column has $~\dfrac{900}{5} = 180~$ elements, since a number has $~0~$ or $~5~$ in its rightmost column if and only if it is divisible by $~5.~$
By symmetrical considerations, $~|S_2|~$ is also equal to $~180.~$
Similarly, since each element in $~S~$ can not have a $~0,~$ in its leftmost column, $~|S_1|~$ must equal $~\dfrac{|S|}{9} = 100.~$
Therefore, $~|S_1| + |S_2| + |S_3| = 460.~$
In considering the subset $~S_1 \cap S_2,~$ the coordination between $~0,5~$ in column-3 with $~0,5~$ in column-2 is random. So, you must have that $~|S_1 \cap S_2| = |S| \times \frac{1}{5} \times \frac{1}{5} = 36.$
Similarly, both $~|S_1 \cap S_3|~$ and $~|S_2 \cap S_3|~$ must equal $~|S| \times \frac{1}{5} \times \frac{1}{9} = 20.$
Therefore, $~|S_1 \cap S_2| + |S_1 \cap S_3| + |S_2 \cap S_3| = 76.~$
Similarly, $~|S_1 \cap S_2 \cap S_3| = |S| \times \frac{1}{5} \times \frac{1}{5} \times \frac{1}{9} = 4.~$
Therefore, the final computation is
$$[460 - 76] + 4 = 388.$$