Question: Write in c++ in this exercise, you will design the class memberType. Each object of memberType can hold the name of a person, member ID,
Write in c++ in this exercise, you will design the class memberType.
- Each object of memberType can hold the name of a person, member ID, number of books bought, and amount spent.
- Include the member functions to perform the various operations on the objects of memberTypefor example, modify, set, and show a persons name. Similarly, up-date, modify, and show the number of books bought and the amount spent.
- Add the appropriate constructors.
- Write the definitions of the member functions of memberType.
- Write a program to test various operations of your class memberType.
You need to pull from a document called memberData.txt it looks like
4 10 John Williams 0 0 20 Lisa Berry 2 35.50 30 Ron Brown 10 255.68 40 Jessey Smith 0 0
Please post text, not just images.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
