There are only 2 possibilities each day- raining & not raining.
As there is a span of 5 days, n(S)=25=32.
Now, we want probability of rain on exactly 3 days.
Ways of choosing 3 from 5 =5C3=n(A)=10.
Then, Probability =1032=516