Help with random numbers

I have not used arrays before, quite new to this but will have a look at some youtube videos. Many thanks