Array question

I would like to create a program which will create a linear array of 20 integer numbers, populate it by random numbers between -10 and 10, print populated array, sort all elements in ascending order and print sorted array again.
What have you tried so far?

Why don't you post the code you've put together so far, and members of this forum can then point out suggestions to make your code work.
Topic archived. No new replies allowed.