Note: This is the programming challenge #9 Chapter 6 from the book Starting Out With C++ Ninth Edition by Tony Gaddis.
Suppose you want to deposit a