Answer:
B. I felt left out while all of my friends were on the dance floor sitting in a chair,
Step-by-step explanation:
A misplaced modifier is a word that is incorrectly used in a sentence which changes the intended meaning of the sentence. They are wrongly separated from the word which they modify.
Therefore, the sentence below that has a misplaced modifier is option B. This is because the intended meaning of the sentence has been changed as a result of the placement of the word and its modifier which makes it seem that his friends were on the dance floor sitting on the chair and the narrator felt left out