GCSE Computer Science/Subroutines

When people start writing programs they often repeat the same lines of code at several places in a program. We can avoid this by using subprograms. Subprograms also called subroutines, functions or procedures.