// 1. Read the problem statement. // 2. Formulate the algorithm using pseudocode and top-down, stepwise refinement. // 3. Write a C program. // 4. Test, debug, and execute the C program.