There are four prime numbers (2, 3, 5, 7) in the first 10 whole numbers.
The probability of rolling a prime is 4/10 and the probability of not rolling a prime is 6/10.
The probability that exactly three of the dice show a prime number is:
4C3 · (4/10)3 · (6/10)1