c++ chapter07 User-Defined Functions II
An Introduction to Programming with C++ Fifth Edition Chapter 9 Value-Returning Functions.