
In a procedural programming the
problem is viewed as the sequence of things to be done such as reading,
calculating and printing. A number of functions are written to accomplish these
tasks. The primary focus is on the functions. A typical program structure for
procedural programming with the technique of hierarchical decomposition for
solving problem is as shown: