QUESTION1. Write I program that asks the user to enter today's sales for five stores. The program should display a bar chart comparing each store's sales. Create each bar in the bar chart by...


Note: Write a java Program.


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

Extracted text: QUESTION1. Write I program that asks the user to enter today's sales for five stores. The program should display a bar chart comparing each store's sales. Create each bar in the bar chart by displaying a row of asterisks. Each asterisk should represent $100 of sales. Here is an example of the program's output: 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 Store 1: *********** Store 2: ********* Store 3:* *********** Store 4: ********** Store 5: **********

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here