Jump to content

GCSE Computer Science/Subroutines

From Wikibooks, open books for an open world

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.