Um, well generally-speaking I say I write a program. I would use 'code' and 'program' if I was talking about skills I have, like 'I code in PHP' or 'I program in Java'. Part of the arts student in me likes the idea of 'creating' a program, but it sounds so naff I wouldn't ever utter it. :P