单项选择题

By the time students complete that course they know two computer languages and have no trouble ()their own programs.

A.to write
B.written
C.write
D.writing