When a programmer writes a program for a particular problem, the following five steps are followed:
Step 1 Define the problem Before starting, it is required to understand the problem completely and assume all initical conditions.
Step 2 Plan the solution Break the problem into a modular form and determine how the modules are logically linked.
Step 3 Code the program Translate the logical solution of each module in an assembly or any programming language which the microcomputer can understand.
Step 4 Test the program After writing the program, implement/test the program in a microcomputer system.
Step 5 Documentation All related matters must be documented, as we do not always remember the most important steps that we took during development of the program.