Question: Please help me write this scenario in java... iat [] iaA = new int [5]; Program should include: -comment code -proper indenting -all around good
Please help me write this scenario in java...
![Please help me write this scenario in java... iat [] iaA =](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66ccfd7864fc6_26366ccfd77e874e.jpg)
iat [] iaA = new int [5]; Program should include: -comment code -proper indenting -all around good design -runs correctly I have completed this lab without assistance Choose a scenario that bests interests you...... Scenario 1 Create a runner program (has a main menu) that: 1. Prompts the user for the number of current salespeople at the company 2. Creates an array of the correct size based on the number of salespeople 3. Create a "for loop" that will prompt and allow the user to enter the total sales for each salesperson. This step should enter the sales into an element of the array. 4. After the loop that enters the sales, print out the total sales for the company and the average sales per salesperson. 5. List the salesperson and amount that sold the most and the salesperson and amount who sold the least
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
