There are 5 digits that are not even or zero: $1, 3, 5, 7$ and $9$.
Now, let’s count all the three-digit numbers that can be formed from these five digits.
The first digit of the number can be filled in 5 ways with any one of the mentioned digits.
Similarly, the second and third digits of the number can be filled in 5 ways.
Hence, the total number of ways of forming the three-digit number is 125 $(= 5×5×5)$.