# Answer to Question #12437 in C++ for pauline

Question #12437

Array

Question 1

Create a program with an array size of 20. The values in the array will be filled in by the user. The program will then allow the user to choose the following task:

1. Find the biggest value

2. Find the smallest value

3. The mean of the array

4. Sort the array in ascending order

5. Sort the array in descending order

The program will only stop when the user chooses option 6 -exit

----------------Sample ouput-----------------

Welcome to my Program

Please enter 20 values for the array:

12 5 4 36 25 84 1 24 22 60 28 3 41 88 97 49 90 100 214 23

What do you want to do with the numbers?

1. Get the biggest value

2. Get the smallest value

3. Find the mean of the array

4. Sort the array in ascending order

5. Sort the array in descending order

6. Exit

Selection: 1

The biggest value is 214

Thank you for using this program

Press any key to continue

Question 1

Create a program with an array size of 20. The values in the array will be filled in by the user. The program will then allow the user to choose the following task:

1. Find the biggest value

2. Find the smallest value

3. The mean of the array

4. Sort the array in ascending order

5. Sort the array in descending order

The program will only stop when the user chooses option 6 -exit

----------------Sample ouput-----------------

Welcome to my Program

Please enter 20 values for the array:

12 5 4 36 25 84 1 24 22 60 28 3 41 88 97 49 90 100 214 23

What do you want to do with the numbers?

1. Get the biggest value

2. Get the smallest value

3. Find the mean of the array

4. Sort the array in ascending order

5. Sort the array in descending order

6. Exit

Selection: 1

The biggest value is 214

Thank you for using this program

Press any key to continue

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment