An event planner is interested in a C++ application that is capable of accepting and processing data related to events that they are contracted to manage. Specifically, your event planner manages events such as funerals and wedding receptions. Also, for each event that your event planner manages, they must store data related to the event's name, contact person, persons contact number, budget, date, and location. Your event planner has restricted themselves to managing no more than 15 events at time.
Tasks
You are required to implement a menu-driven C++ application that will model the following as menu options to be selected by your event planner:
Create an event. Upon the user selecting this option, your C++ application will prompt the user to select and enter data for the type of event they are contracted to manage.
Note:
Your solution to this task must demonstrate the concept of inheritance. Specifically, you are required to create a base class called Event. Your Event class will have:
members for storing data for each event, as mentioned in the scenario
member functions to access and modify each data member
Your solution will implement a print member function for the Event class. This function will appropriately display an output to the user's screen for all data members in the class.
Your event planner has considered undertaking two other types of events, in addition to those mentioned in the scenario. Hence, your solution to this task will allow the event planner to choose and create an event from a total of four types of events. All four types of event must be implemented as separate derived classes of the Event class. Also, for the purpose of identifying an event, each derived class will store data that is specific to the event.
Total events being managed. Upon the user selecting this option, your C++ application will display a value representing the total events being managed thus far. Note: At the start of your solution's execution two (2) objects for each derived class must be instantiated.
Exit application. Upon the user selecting this option, your main function will prompt the user to confirm their choice to exit your application. Only if the user confirms the choice to exit should your application close; otherwise, it repeats the menu options for your use
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.