A function is a block of code which executes the statements when we call it.
It consists of three entities:
1: the function name. is simply a unique identifier.
2: The function parameters.this is a set of zero or more typed identifier.
3:The function return type this specifies the type of value function returns.