Answer:
The probability that they were born in different months is

Explanation:
Total number of ways = 12
Number of ways of the first person = 12
So, probability for the first person is

Now, the number of ways for the second person = 11
So, the probability for him =

Similarly, the probabilities for third, fourth and fifth persons are:

Hence, the total number of ways =

