Question: JAVA Write a program to do the following: Ask the user to enter the total sales for a chain of stores that you own. The
JAVA

Write a program to do the following: Ask the user to enter the total sales for a chain of stores that you own. The number of stores will vary for each user input Display the total sales in a bar graph for each store. The graph should use asterisks with each asterisk representing $100 of a sale. Input Validation: The input must be evenly divisible by 100 Requirements: The output must match exactly mine. The graphs must be dynamically generated based on the user input. You must use for loops to solve the problem you are NOT allowed to use arrays. Sample Execution: How many stores are there?: 5 Enter the total sales for Store 1: 1000 Enter the total sales for Store 2: 1200 Enter the total sales for Store 3: 1800 Enter the total sales for Store 4: 800 Enter the total sales for Store 5: 1900 GRAPH OF TOTAL SALES (Each * = $100)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
