I just want a confirmation that I'm doing this right
There is a 10-floor building, 4 people get in the elevator in the ground floor and each gets off at one of the floors randomly and independently.
a)what's the probability that they all exit at different floors.
well it's $\frac{10*9*8*7}{10^4}$
b)two get off and only two get off at the same floor.
after a bit of thinking I found that it's $\frac{{4 \choose 2}*10*9^2}{10^4}$
Am I right ?