(1)
Procedure: Procedure does not return a value.
Function : Function does return a value.
(2)
Procedure: Use 'sub' keyword for creating procedure
Function : Function use 'function' Keyword for creating function.
Procedure: Procedure does not return a value.
Function : Function does return a value.
(2)
Procedure: Use 'sub' keyword for creating procedure
Function : Function use 'function' Keyword for creating function.