Functions
A function
is a block of code in a programming language that encloses a set of statements. Once implemented, this block of code is reusable throughout the program. Functions make it easier to organize and reuse code.
A function generally follows the following structure in a program.

Let's discuss each of these components of functions in the next sections.