subroutine
block of code given a unique identifiable name within a program, can be classified as a function or procedure
what is a subroutine meant to do
break down large problems into a series of smaller more manageable problems so they’re easier to
- code
- debug
- reuse
procedure
named block of code that performs a specific task, but does not return a value
what is a function
named block of code that is called to perform a task and it returns a value