Page 1 of 1

SIMPLE MEMBER MANAGEMENT SYSTEM FOR RETAIL SHOP Language C++

Posted: Sat Nov 27, 2021 10:34 am
by answerhappygod
SIMPLE MEMBER MANAGEMENT SYSTEM FOR RETAIL SHOP
Simple Member Management System For Retail Shop Language C 1
Simple Member Management System For Retail Shop Language C 1 (164.12 KiB) Viewed 94 times
Language C++
You are request to write a simple member management system for a retail shop. The system should allow user to create and edit member record. The user may also search a member from a list. Design a class named Member' to model the product details. The class should hold the following:- • Fields/attributes - member identity number, member name, gender, and birthday. • Constructors to create a Member object either with a given name or an unknown name in which it should be set to Name Unknwon. You should have at least 2 constructors. Methods: o all 'getter' & 'setter' methods; o display method to print out the details of a Member object. Design a new class named "AnnualMember' that derives from ‘Member' to represent a record for members which subscribe as annual member. The member needs to renew their membership annually. The class should hold the following additions/changes:- Field/attribute - date of joining, membership expiry date (one year from subscription/renewal). Constructors to create a AnnualMember object. Methods: o all getter' & 'setter' methods; o display method to print out the details of a Annual Member object. Task 1: Draw the a class diagram for all of the classes as described in the background. Task 2: Develop a program that includes all the classes and a driver program. In the main method, creates an array to store 300 AnnualMember records. Your program should provide the functions such as: 1. Allow user to create a new AnnualMember record. 2. Update a AnnualMember record based on a given member identity number. 3. Print the details of a AnnualMember record based on a given member identity number. 4. Print the details of all Annual Member records stored in the array. There is no limitation for the interface or menu design.