Question: please expert i have a code written with C++ language i need to add to it the main function by the requirements below. the code

please expert i have a code written with C++ language i need to add to it the main function by the requirements below. the code is object oriented programming have a class named packageplan and two other derived classes. so i need only to add the main function.

(Here is the code):

please expert i have a code written with C++ language i needto add to it the main function by the requirements below. thecode is object oriented programming have a class named packageplan and twoother derived classes. so i need only to add the main function.(Here is the code): ( here are the requirements needed for the

( here are the requirements needed for the main function so please help me by the correct answer )

Finallv, create a main that: I - creates an array of Plan* => Plan* plans]5]. 2- displays a menu for the user that loops for 5 times asking whether the user wants to create a package plan or a rate plan.

Enter (0) for package plan and (1) for rate plan:

3- If the user enters 0, then create a package plan object and add it to the array, otherwise create a rate plan object. 4- For each of the plans chosen allow the user to enter all of the info required for that plan. 5. Finally, loop through the array and call printAccountDetails & calculateBill for each of the objects created. For package plans call reminingMinutes and outOfPackageMins as well

// Overridden function to print account details void printAccountDetails() f Plan: :printAccountDetails(); cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!