Hey guys. I'm having trouble when it comes to sorting my array in ascending order. When i build my code it tells me "error: invalid conversion from int to int" in lines 102 and 103 which I'm guessing refers to whats in void sortArray and void showArray. I don't understand the error and don't know how to fix it. I'm new to coding so any help will be appreciated.
well you are passing "numbers" which is just a int instead of a array in lines 102, 103 , you should pass the array because thats what you specified in your function
its not letting me pass the array because it will give me an error such as "cannot covert double to int for argument '1' to void sortArray' and same thing when i switch them to ints or doubles. I tried passing array[], array[numbers], array[50] but they don't seem to work.