Question: im C + + You, as the most junior Oopma - Loompa in the Wonka Chocolate Factory's IT department have been given a data analysis

im C ++
You, as the most junior Oopma-Loompa in the Wonka Chocolate Factory's IT department have been given a data analysis task. You are given a data file containing the world-wide sales figures for factory's most popular candies.
The data is a text file where each line is the sales for one month of one time of candy. The data is organized into columns separated by commas: month, candy, North America sales, South America sales, Asia sales, Europe, and Australia/New Zealand.
Write a program that reads this data and does two things: (1) shows the total sales for the year in each region by type of candy, and (2) provides a menu that allows the use select one of the candy types and displays a table showing the sales by world region for all twelve months.
Note: - Like most real world data, the data file may not be exact or correct. However, the data is in the correct format. - The data is in row-column table form, with the first row containing column headers (you have to deal with that special case).- This is an application of the parallel array structure we discussed in Lab 01.
 im C ++ You, as the most junior Oopma-Loompa in the

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!