Question: C++ question: Cafeteria.txt Below: *Make sure to use C++ *Make sure to use Pointer Notation! *Two dimensional array holds the count of likes and dislikes

C++ question:

C++ question: Cafeteria.txt Below: *Make sure to use C++ *Make sure to

Cafeteria.txt Below:

use Pointer Notation! *Two dimensional array holds the count of likes and

*Make sure to use C++

*Make sure to use Pointer Notation!

*Two dimensional array holds the count of likes and dislikes per menu item

A school cafeteria is giving a survey to its students to improve their lunch menus. Use the file cafeteria.txt file to input the results of the survey into a 2- dimensional array to hold the counters for the survey. The file will hold values for a string menu item, a 'Y' if the student liked the food item and a 'N' if the student disliked the food item. Once the file has been processed and the 2-dimensional array set up, display the results in group form such as: Food Item Cheese Pizza Like 3 1 2 Dislike 0 2 1 Hamburger Fish Sticks Mystery Meat Be sure to use pointer notation where applicable. Cheese Pizza Hamburger Y Fish Sticks Y Mystery Meat Cheese Pizza Hamburger N Fish Sticks N Mystery Meat Cheese Pizza Hamburger N Fish Sticks Y Mystery Meat A school cafeteria is giving a survey to its students to improve their lunch menus. Use the file cafeteria.txt file to input the results of the survey into a 2- dimensional array to hold the counters for the survey. The file will hold values for a string menu item, a 'Y' if the student liked the food item and a 'N' if the student disliked the food item. Once the file has been processed and the 2-dimensional array set up, display the results in group form such as: Food Item Cheese Pizza Like 3 1 2 Dislike 0 2 1 Hamburger Fish Sticks Mystery Meat Be sure to use pointer notation where applicable. Cheese Pizza Hamburger Y Fish Sticks Y Mystery Meat Cheese Pizza Hamburger N Fish Sticks N Mystery Meat Cheese Pizza Hamburger N Fish Sticks Y Mystery Meat

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!