Question
Sales Bar Chart Write a program that asks the user to enter todays sales rounded to the nearest $100 for each of three stores. The
Sales Bar Chart Write a program that asks the user to enter todays sales rounded to the nearest $100 for each of three stores. The program should then display a bar graph comparing each stores sales. Create each bar in the graph by displaying a row of asterisks. Each asterisk should represent $100 of sales. Here is an example of the programs output. User input is shown in bold. Enter todays sales for store 1: 1000[Enter] Enter todays sales for store 2: 1200[Enter] Enter todays sales for store 3: 900[Enter] DAILY SALES (each * = $100) Store 1: ********** Store 2: ************ Store 3: *********
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started