Explore BrainMass
Share

Explore BrainMass

    Food survey C++

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    A cafeteria wants to determine how students rate each food item. The cafeteria requires an application that surveys the student's opinion of various food items, rating each item as "like" or "dislike". The application is to use a two-dimensional array to hold counters for each category in the survey. The application will prompt the user to continuously select a food item and rate it, then display the total ratings for each food item as shown below:

    © BrainMass Inc. brainmass.com October 9, 2019, 11:03 pm ad1c9bdddf
    https://brainmass.com/engineering/electrical-engineering/food-survey-c-242592

    Attachments

    Solution Preview

    Hi,

    I have attached here the source code of the program in .cpp format. ...

    Solution Summary

    This posting contains the solution to the given problem.

    $2.19