Structured programming involves decomposing the program into manageable modules.

Simple subroutines can then be written to carry out individual tasks, and the main program can be written using these subroutines.


The advantages of structured programming are:



How can you improve the maintainability of your code?

Adding well written, clear comments to explain the key features of a program.
Using meaningful identifiers for variables and constants.