Question: Write a program that asks the user to enter todays sale for five stores. The program should display a bar chart comparing each stores sales.

Write a program that asks the user to enter todays sale for five stores. The program should display a bar chart comparing each stores sales. Create each bar in the bar chart by displaying a row of asterisks. Each asterisk should represent $100 of sales. Here is the sample output. Enter today's sale for store 1: 1000[Enter] Enter today's sale for store 2: 1200[Enter] Enter today's sale for store 3: 1800[Enter] Enter today's sale for store 4: 800 [Enter] Enter today's sale for store 5: 1900[Enter] output: Sales BAR CHART Store 1: ********** Store 2: ************ Store 3: ****************** Store 4: ******** Store 5: ******************* 

in C++ I am having difficult to show the Sales bar chart

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!