Six  steps to developing good programming habits
Beginner programmers often tend to start writing program code immediately after being given a problem. This may work very well for simple problems. However this approach may lead to frustration when we have to deal with complex problems, The key to writing successful programs is careful planning.
 
 
List below are the six steps that should serve as guidelines for developing programs.
 
 
      1)  Problem definition
            Describe the problem in a clear and precise statement so that we know exactly what needs to be done.

     2)  Problem analysis
           Find out what data are available, what can be assumed, and what output format is required.

     3)  Algorithm design
              Construct a set of instructions which can be used to solve the problem.

    4)  Program coding
             Convert the algorithm into a program using a suitable computer language.

    5)  Program testing and debugging
          Run the program with suitable test data to find out whether it is doing its intended job. If anything goes wrong, correct the errors in the program.

    6)  Program documentation
             Write down a description of the purpose and process of the program.
 

 
 
 
 
 
 
 
                                         
1