In the first part of this exercise, you will design a class memberType.
1. Each object of memberType can hold the name of a person, member ID, number of books bought, and amount spent.
2. Include the member functions to perform the various operations on the objects of memberType—for example, modify, set, and show a person’s name. Similarly, update, modify, and show the number of books bought and the amount spent.
3. Add the appropriate constructors and a destructor (if one is needed).
4. Write the definitions of the member functions of memberType.