In a modular program, the answer is broken down into modules, and each is executed as a function. The script is usually known as the main program.
In order to elaborate the concept, we will use the very easy illustration of computing the area of a circle. In the next part, a very long and more realistic illustration will be given. For this illustration, there are three steps in the algorithm to compute the area of a circle: