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

JAVA Write a program to do the following: Ask the user to

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

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!