Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 memberTypefor example, modify, set, and show a persons 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.

I am provided to input this data 10 John Williams 0 0 20 Lisa Berry 2 35.50 30 Ron Brown 10 255.68 40 Jessey Smith 0 0

I need 3 other files main.cpp, membertype.h, and membertype.cpp I need all this in C++ please and thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions