The number of ways in which friends can stay in hotels is
Explanation for the correct option:
Find the required number of permutations.
We have to arrange friends in hotels.
Since all the friends have choices for hotel.
So, the total number of ways is .
Therefore, The number of ways in which friends can stay in hotels is .
Hence, option is the correct answer.