Click here to Skip to main content
15,918,967 members

Comments by Member 12289027 (Top 3 by date)

Member 12289027 26-Jan-16 18:14pm View    
Nope!, the error on line 31 is gone.

I commented out the first print line, in that first outer loop, and now everything looks hunky-dory. Strange that instating that print line makes everything wonky though. =/

System.out.println("ar[" + j + "] = " + ar[j]);
Member 12289027 26-Jan-16 18:03pm View    
Updated thread code, thank you very much btw. I've been scratching my head for hours.
Member 12289027 26-Jan-16 17:53pm View    
I made the necessary changes, unfortunately giving the size of sorted has for whatever reason made the program print out 7 iterations of ar (original array before sorting) in addition to the sorted array.