The functions written by the programmer or user to do the specific tasks are called user defined function or programmer defined function.
Elements of user-defined function:-
The program module that is written to achieve a specific task is called function definition