Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programming Windows Console Application option 2.4: write a program that performs a survey tally on beverages. The program should prompt for the next person

C++ Programming Windows Console Application

image text in transcribed

image text in transcribed

option 2.4: write a program that performs a survey tally on beverages. The program should prompt for the next person until a sentinel value of-1 is entered to terminate the program. Each person participating in the survey should choose their favorite beverage from the following list: 1. Coffee 2. Tea 3. Coke 4. Orange Juice Sample Run. Please input the favorite beverage of person #l: Choose l, 2, 3, or 4 from the above menu or-1 to exit the program Please input the favorite beverage of person #2: Choose l,2, 3, or 4 from the above menu or-1 to exit the program Please input the favorite beverage of person #3: Choose l, 2, 3, or 4 from the above menu or-1 to exit the program Please input the favorite beverage of person #4: Choose l,2, 3, or 4 from the above menu or -l to exit the program Please input the favorite beverage of person #5: Choose l,2, 3, or 4 from the above menu or -l to exit the program Please input the favorite beverage of person #6: Choose l, 2, 3, or 4 from the above menu or -1 to exit the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

KEY QUESTION Refer to the table in question

Answered: 1 week ago