Book Name: Starting Out with C++ from Control Structures to Objects (9th Edition) Author: Tony Gaddis Publisher: Pearson ISBN-10: 0134498372…