Start by making a list of the steps the program needs to take to solve the problem.
Work through the logic of the steps to make sure it will work.
When the logic seems right, starting with the...