Thanks for the hints on the value of max.
Here is my new code and it working, but I don't understand why the inner loop need to have an index of max which = i for it to work.
public static...
Type: Posts; User: maple1100
Thanks for the hints on the value of max.
Here is my new code and it working, but I don't understand why the inner loop need to have an index of max which = i for it to work.
public static...
I'm currently doing selection sort and this is my method to sort a array of string into alphabet order. I interpret the code line by line into words and test it by hand it seem to make sense but when...