I am trying to get my Array to work with bubble sort. I have the Array to pick 10 random numbers from 1 - 100. It prints the results, how ever when I go to add "numberArray" to bubble sort I get an error. The code I have is below any help would be great. It's probably something really stupid.
You can't use the assignment operator= to "copy" an array you will need to copy the array element by element, or you could just sort the original array.