The correct option is D 181440
Total number of ways = number of ways in which three ladies are together − number of ways in which three ladies are together and those two gentlemen are together.
Number of ways in which three ladies are together =8!×3!
(consider three ladies as one unit and internal arrangement of ladies)
Number of ways in which three ladies are together and those two gentlemen are together =3!×2!×7!
(consider three ladies as one unit and two gentlemen as one unit and internal arrangement of ladies and gentlemen)
Total number of required ways =3!8!−3!2!7!=181440
Alternate method:
10 Guest =3L+7G
Let two particular gentle-men who refused to sit together be G1,G2.
Total arrangement of 5 other gentle-men considering 3 ladies as 1 string
=6!3!
Now, G1,G2 can be arranged in gaps of above arrangement in 7P2 ways
∴ Required number of ways =6!3! 7P2