单项选择题

He ______ a book, and now he needs a holiday.

A.has been writing
B.was writing
C.will write
D.wrote