Question: Sales Bar Chart: Your program will ask the user to specify the number of stores in your region. Then the user will enter the sales

Sales Bar Chart: Your program will ask the user to specify the number of stores in your region. Then the user will enter the sales for each store. The program must display a bar graph comparing each stores sales. The bar graph should implement a row of asterisks, each asterisk representing $100 of sales.

Your program should use:

1. for loops

2. arrays

a. new operator

b. delete operator

The Specs: 1. Your solution should prompt the user for the number of stores. 2. Your solution should prompt the user for the sales of each store. 3. The report should create a string of * characters representing the sales, a. Each * would represent $100 in sales.

Sales Bar Chart: Your program will ask the user to specify the

Q11

Debug:

#include using namespace std;

int main() { void countDown(int, int); int high, low; cout " cin >> high; cout "; cin >> low; if(high 1 X How many stores? 6 sales for store #1: 1500 sales for store #2: 1489 sales for store #3: 2400 sales for store #4: 1810 Sales for store #5: 3160 Sales for store #6 : 2990 SALES BAR CHART (Each * = $100) Store1:*** Store 2:**** Store 3:* Store 4: Store 5:** Press any key to continue

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!