I would like to know if there is a shorter, more elegant and compact way to prove the statement with respect to the one I used to develop my proof, which is the following.
Assume $10 \vert abc$, meaning $2 \vert abc$ and $5 \vert abc$. Since $2$ and $5$ are both primes, it follows, without loss of generality, that $2 \vert ab$ or $2 \vert c$ and $5 \vert ab$ or $5 \vert c$. This means we need to consider four possible non-trivial combinations: $2 \vert ab$ and $5 \vert ab$, $2 \vert ab$ and $5 \vert c$, $2 \vert c$ and $5 \vert ab$, $2 \vert c$ and $5 \vert c$. A combination is assumed to be "trivial" if it assumes one of the four listed to be true. Then, I proceeded to prove that the statement holds in all the listed cases, applying the definition of divisibility and the already exploited property of prime numbers.
I feel this proof to be a little bit heavy and cumbersome. Let me know if you have a cleaner approach to this, and thanks in advance for any feedback.