Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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