The Five Steps
Understand the problem
Do a small example by hand
Sample output
from the calculator is given in lieu of a hand example.
Write an algorithm for solving the problem
Translate the algorithm into a programming language (like C)
Test the program
to Overview.