consider the 5 dogs as one animal. Then there are 8 places it can be placed with the 7 cats.
Each group of 5 dogs can be arranged in 5! ways, so the final number is
8*5!
In how many different arrangements can 5 dogs and 7 cats be placed in a row if the dogs must be next to one another?
2 answers
Thank you!