Types of Function Subprograms
Single line functions, non-executable statement
defined at the top of the program.
If computations can be written in one line use
User defined function
If computations require more than one line use