
Lesson 12-1: Check Prelab Exercise
Classes and Abstraction | 291
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Run program Money to check your answers. Was your answer correct? If not, do you
understand where you made your mistake?
Exercise 2: The second parameter for the Add operation is the object to which the member
function is being applied. It is often referred to as “self”—in this example, money1.
Exercise 3: Program Money on the disk is documented to show what should be in the money.h
file, what should be in the money.cpp file, and what is the client ...