Please help me, i want to get a random number from an integer array, then delete that number in that array.
for example, i have an array like this {1,2,3,4,5,6,7,8,9}
now i want to get a RANDOM number in that array ( the number must be in the array), 8 for example. And then delete it from the array.
This is the array should be when done {1,2,3,4,5,6,7,9}
Thanks for reading
for example, i have an array like this {1,2,3,4,5,6,7,8,9}
now i want to get a RANDOM number in that array ( the number must be in the array), 8 for example. And then delete it from the array.
This is the array should be when done {1,2,3,4,5,6,7,9}
Thanks for reading