The advantages of modular programming are:
- coding the program and testing is very easy.
- a module can be used in multiple places, which reduces the program codes.
- different programmers can write different modules separately.
- debugging of the program becomes easier and faster since they are divided into different modules.