PROGRAMMING LANGUAGE: C++ I need the code for main.cpp , memberType.h , memberTypelmp.cpp The DATA for memberData.txt is given below: 410John Williams0020Lisa Berry235.5030Ron Brown10255.6840Jessey...


PROGRAMMING LANGUAGE:C++


I need the code formain.cpp , memberType.h , memberTypelmp.cpp


The DATA for memberData.txt is given below:


4
10
John Williams
0
0
20
Lisa Berry
2
35.50
30
Ron Brown
10
255.68
40
Jessey Smith
0
0


main.cpp<br>memberData.txt<br>memberType.h<br>memberTypelmp.<br>1 4<br>2 10<br>3 John Williams<br>4 0<br>5 0<br>6 20<br>7 Lisa Berry<br>82<br>9 35.50<br>10 30<br>11 Ron Brown<br>12 10<br>13 255.68<br>14 40<br>15 Jessey Smith<br>16 0<br>17 0<br>18<br>

Extracted text: main.cpp memberData.txt memberType.h memberTypelmp. 1 4 2 10 3 John Williams 4 0 5 0 6 20 7 Lisa Berry 82 9 35.50 10 30 11 Ron Brown 12 10 13 255.68 14 40 15 Jessey Smith 16 0 17 0 18
Instructions<br>In this exercise, you will design the class memberType.<br>1. Each object of memberType can hold the name of a<br>person, member ID, number of books bought, and amount<br>spent.<br>2. Include the member functions to perform the various<br>operations on the objects of memberType -for example,<br>modify, set, and show a person's name. Similarly, up-date,<br>modify, and show the number of books bought and the<br>amount spent.<br>3. Add the appropriate constructors.<br>4. Write the definitions of the member functions of<br>memberType .<br>5. Write a program to test various operations of your<br>class memberType.<br>

Extracted text: Instructions In this exercise, you will design the 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, up-date, modify, and show the number of books bought and the amount spent. 3. Add the appropriate constructors. 4. Write the definitions of the member functions of memberType . 5. Write a program to test various operations of your class memberType.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here