Array Manipulation

Numbers Reversed

PRG 211

University of Phoenix

Array Manipulation

This program will start by having the user input 10 random numbers. After the 10th number is inputted the program will output the average of the numbers inputted. After this the program will display the numbers the user inputted earlier from largest to smallest in descending order.

Pseudocode

Begin

DeclareMyArrayNumbers [10]

Set total = 0

For Counter1 to 10

Input Numbers(Counter)

Set total = total + Numbers(Counter)

End For

For Order1 to 10-1

For N 1 to 10-1

If Numbers(N)> Numbers(N + 1)

Set Temp = Numbers(N)

Set Numbers(N) = Numbers(N + 1)

Set Numbers(N + 1) = Temp

End For

Set average = total/10

Write “Average total of all numbers are:” + average

Write “The numbers reversed are:”

For N 10 to 1 by -1

Write Numbers(N)

End for

End

**Place an Order**

**Plagiarism Free**!

Create an Account

**Create an account at Top Tutor Online**

- Allows you to track orders.
- Receive personal messages.
- Send messages to a tutor.

Post a Question/ Assignment

**Post your specific assignment**

- Tutors will be notified of your assignment.
- Review your question and include all the details.
- A payment Link will be sent to you.

Wait for your Answer!

**Make payment and wait for your answer**

- Make payment in accordance with the number of pages to be written.
- Wait for your Answer as a professional works on your paper.
- You will be notified when your Answer is ready.