Subprogram
Advantages of Subprograms:
o You can write and test one module separately from the rest of the program.
o Debugging is easier because you work with smaller sections of the program.
o Modules can be used in other programs without rewriting or retesting.
o Programs are more readable.
o More than one programmer can work independently on a program
o Programs are shorter, therefore less subject to error.
o A module can be used several times by the same program.
Subprogram is an independent module containing series of computer instructions that together that form the key to top down software design.