Source Code:
A Function procedure can return a result.
Result:
W3Schools.com
- Try it yourself