Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A 2 - Class based menu - driven program that is used to track and manage the customer account info and purchases for your choice
A Class based menudriven program that is used to track and manage the customer account info and purchases for your choice of business.
On launch the program should introduce itself and your business and load all the existing customer account info from a file of any size and store them in a vector of a class called AllCustomers.
It should then Load all purchase information from a file of any size and store them in a vector of a class called AllPurchases.
AllCustomers Data Model should include but is not limited to:
First Name
Last Name
Account #
Street Address
City
State
Zip Code
Phone Number
AllPurchases Data Model should include but is not limited to:
Account Number
Item
Date
Amount
Requirements of Grade
Menu driven program that loops after each selection until user chooses to exit
Load all Customer account Info from a file into a vector of the class
Use a vector within the class to store purchase information
All functions should be a public member function of your classes.
Menu Options:
Print out all list of all customers
Option to sort and print Customer list in descending or ascending order
Print out a specific customers account information with all purchases
Print out the total spend for all a customers purchases
Add a new customer
Add multiple customers Use Recursive Function
Update a customers information
Delete a customers information
Add a new customers purchase
Add multiple new customer purchases Use Recursive Function
Let the user save over the existing import files or copy to a new file
All work and procedures to be completed in Member Functions
Code should be split across minimum of Files MainCPP ClassH ClassCPP ClassH ClassCPP
Comment all code and functions
Use advanced course material where necessary Constructors Overloaded Assignment Operators, Destructors, Pointers, Recursion, Sorting and Searching
User Interface & Experience of Grade
Design with the users in mind, easy to use, hard to break I will try
Output should be easy to read and understand using things like set precision, set width, aligning output in table format, numbering to select instead of typing names.
Make it a gun store and account numbers as like and so on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started