Subprograms allow for , meaning that complex tasks can be simplified into a single function call.

The code inside a subprogram is executed when it is .

The statement is used to return a value from a subprogram.

The inputs given to a subprogram are called .

Debugging is often easier with subprograms because errors can be isolated within a part of the code.

A well-designed subprogram can allow for easier since each part can be tested independently.