Question: C++ Program Option 1: Write a program that performs a survey tally on beverages. The program should prompt for the next person until a sentinel

 C++ Program Option 1: Write a program that performs a survey C++ Program

Option 1: Write a program that performs a survey tally on beverages. The program should prompt for the next person until a sentinel value of - is entered to terminate the program. Each person participating in the survey should choose their favonte beverage from the following list: 1. Coffee2. Tea 3. Coke4. Orange Juice Sample Rn Please input the favorite beverage of person #1: Goose 1, 2, 3, or 4 from the above "enu or -1 to exit the progran Please input the favorite beverage of person #2: Goose 1, 2, 3, or 4 from the above-enu or 1 to exit the progran Please i put the favorite beverage of person #3: Koose I. 2, 3, or 4 from the above monu or -1 to exit the progra Please input the favorite beverage of person #4: Goose 1, 2, 3, or 4 from the above menu or -1 to exit the program Please input the favorite beverage of person #5: hose 1, 2, 3, or 4 from the above monu or 1 to exit the progra Please put the favorite beverage of person #6: Koose I. 2, 3, or 4 from the above mnu or 1 to exit the progra -1 The total nu ber of people surveyed is 5. The results are as folow: Beverage Nunber of Votos Coffee Tea Coke Orange Juioe

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!