1. 2. Chapter 5 Functions for All Subtasks 3. Overview 5.1voidFunctions5.2Call-By-Reference Parameters 5.3Using Procedural Abstraction 5.4Testing and Debugging 5.5General…