subprogram
/ˈsʌbˌproʊɡræm/
noun
- A part of a larger computer program that performs a specific task and can be used repeatedly.
- Each subprogram in the software handles a different function, like printing or saving files.
- By using a subprogram for error checking, the main program became much easier to read.
- The developer wrote a subprogram to calculate the total cost of items in the shopping cart.