He needed a computer program to do a certain task and he knew how to make it, so he began to do what?
Choose the most suitable option to answer the above question.
Options：

A. get frustrated

B. write code

C. debug

D. damage

E. compile



B