The first thing you do when you write a program is know the purpose of the program.