* * 8.2 Procedures Function Procedures * * Learning Objectives Describe the difference between functions and sub procedures. Explain how to write and call functions. * Function…