Karanbir S.

asked • 04/05/21

C# Random Numbers.

  1. create an array of 10 random numbers from 1 to 100. We will use a for loop to populate the array.
  2. output the numbers in their original order on one line.
  3. We will sort the list and output the numbers in order from smallest to largest using a foreach loop.
  4. Ask the user if they would like a new list of numbers and run the program again (Using either a while loop or a goto.)

1 Expert Answer

By:

Patrick B. answered • 04/06/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.