IBM interview question

How would you write a computer program?