Question: I need help with this exercise. Than you for the help. Language is C++ 3 One-Dimensional Array Data Types with Enumeration Indexes Program Favorite is

I need help with this exercise. Than you for the help. Language is C++

I need help with this exercise. Than you for the help. Languageis C++ 3 One-Dimensional Array Data Types with Enumeration Indexes Program Favorite

3 One-Dimensional Array Data Types with Enumeration Indexes Program Favorite is used for Exercises 2. // Program Favorite determines the favorite soft drink. #include using namespace std; enum DrinksType COKE, PEPSI, SPRITE, DR_PEPPER) void Prompt ) // This function provides the input prompts. int main () int sums [4] char drink; DrinksType index; for (index COKE; index drink; while drinkc'11 drink-'p' drink-'s'11 drinkd' 7FILL IN code to increment the sum of a drink based on user input Prompt O cin > drink; FILL IN Code to write out the totals return 0 void Prompt () 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!