Question: Create a program that prompts the user to enter 10 integers and stores them in an array. The program should then display the following information:

Create a program that prompts the user to enter 10 integers and stores them in an array. The program should then display the following information: 1. The sum of the integers 2. The average of the integers 3. The integers that are greater than the average (one per line) 4. The integers that are less than the average (one per line) 5. Finally, multiply every array element by 2, and show the whole array in one line, separated by comma. IMPORTANT: You are NOT allowed to use the following methods, and you must calculate min, max, and average within your code. min = arr.Min(); max = arr.Max(); average = arr.Average();

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 General Management Questions!