单项选择题

But in this letter of reply he demanded that the creditor ______ him a formal letter of apology.

A.could write
B.write
C.would be writing to
D.was going to write