Slide 1 Insight Through Computing 11. User-Defined Functions Input parameters Local Variables Output Values Slide 2 Insight Through Computing Why? 1.Elevates reasoning by…