10 friends are living in 10 different flats of an apartment. Each of them was allotted a parking spot to park their cars in the ground floor. But they used to park their cars randomly in any of the 10 parking spots. In how many ways can they park their cars so that exactly 8 people park their cars in the spots allotted to them?
Choose the correct choice
A) 35 B) 40 C) 45 D) 50 E) 55
10C8 = 45   The remaining 2 people in each case will be parked in each other's parking spots.   The answer is 45.
<result>C</result>
10 friends are living in 10 different flats of an apartment. Each of them was allotted a parking spot to park their cars in the ground floor. But they used to park their cars randomly in any of the 10 parking spots. In how many ways can they park their cars so that exactly 8 people park their cars in the spots allotted to them?