Question

Task3

Create a program that generates 20 random numbers from the range [0, 999] and displays them in the first line of the screen.

Then it arranges the resulting array in ascending order and prints two lines:

The first of them contains ordered numbers, and below the neub (second line) are their serial numbers from the original generated line.