- Generate a random integer between 0 and (the array size – 1), both inclusive.
- Access your array with an index equal to this random number.
We can’t give you ready-to-use code unless you show some efforts in terms of your own code.
2
solved How would I print a random array element? [closed]