Chapter 6: Modularity Using Functions C++ for Engineers and Scientists, Fourth Edition In this chapter, you will learn about: Function and parameter declarations Returning…