- Understand the problem
- What is this program supposed to do?
- What kind of information is it given? (What is the input?)
- What kind of results is it to produce? (What is the output?)
- What formulas or techniques will be needed?
- Do a small example by hand
- Create a small example(s) of what the program should do
- Solve these examples and keep in mind the questions from step 1.
- Write an algorithm for solving the problem
- Remember that each line of code is sequentially executed
- Your algorithm must include all the steps sequentially to arrive at a solution
- Algorithm Design Example
- Translate the algorithm into a programming language (like C)
- Test the program