The effect of writing a program is to solve a problem.