Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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...

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How are values illustrated in the case?

Answered: 1 week ago

Question

Describe S. Truett Cathys self-concept and self-efficacy.

Answered: 1 week ago