单项选择题

______ that some guests were coming, they got the rooms ready.

A.Having told
B.Having been told
C.Telling
D.To tell