Question: write C++ code that reads sales data from a file named StoreSales.txt, and then creates a bar graph comparing each stores sales. Create each bar

write C++ code that reads sales data from a file named StoreSales.txt, and then creates a bar graph comparing each stores sales. Create each bar in the graph by displaying a row of asterisks, where each asterisk represents $500 of sales. It should look similar to below: SALES BAR CHART (Each * = $500) Store 1: ** Store 2: ****** Store 3: ** Store 4: ********* Store 5: ****** Assume that you do not know how many stores data is stored in the file.

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!