The correct answer is c. came, was programming.
The sentence describes two actions that happened yesterday. 'Came' is the simple past tense for the first action. 'Was programming' is the past continuous tense for the second action, indicating an ongoing activity when the first action occurred.