Question: Note: attached c++ code is attached below. Review the attached c++ code; try it as it is and then add Family membership feature for $60

Note: attached c++ code is attached below.

Review the attached c++ code; try it as it is and then add Family membership feature for $60 fee. Keep in mind that family membership will become menu option 4 and the quit option will be assigned menu option 5.

Submit output screen shot with the following steps.

After code modifications try the following run sequence listed below when program prompts for values:

1

10

7

2

12

4

6

5

Note: attached c++ code is attached below. Review the attached c++ code;

try it as it is and then add Family membership feature for

tinclude tinclude using namespace std: // This menu-driven Health Club membership program carries out the // appropriate actions based on the menu choice entered. A do-while loop // allows the program to repeat until the user selects menu choice 4. int main) // Constants for membership rates const double ADULT RATE-40.0; const double CHILD RATE20.0 const double SENIOR RATE 30.0; int choice: int months: double charges: // Menu choice INumber of months // Monthiy charges do 1 Display the menu and get the user's choice cout > choice: // Validate the menu selection while {{choice 1) 11 (choice > 4)) cout > choice: // Process the user's choice if (choice !-4) cout > months // Compute charges based on user input switch (choice) case 1: charges monthsADULT RATE: case 2: charges mths CHILD RATE case 3: chargesmonthsSENIOR RATE: break; break; // Display the monthly charges 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!