Question: C++ programming Write a program that asks the user to enter todays sales for five stores. The program should then write a bar graph comparing
C++ programming
Write a program that asks the user to enter todays sales for five stores.
The program should then write a bar graph comparing each stores sales
into a file called barChart.
Create each bar in the bar graph by writing a row of asterisks.
Each asterisk should represent $100 of sales.
Do input validation for the sales value that you read. This value must be in the range 800 to 1200 or 1700 to 2000. Here is an example of the programs output in the file barChart: Enter today's sales for store 1: 1000 Enter Enter today's sales for store 2: 1200 Enter Enter today's sales for store 3: 1800 Enter Enter today's sales for store 4: 800 Enter Enter today's sales for store 5: 1900 Enter SALES BAR CHART (Each * = $100) Store 1: ******** Store 2: **********
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
