Actually I appreciate your help both of you...
but this is a MODIFIED SELECTION SORT :D
The purpose is to find min and post it at beginning, find max and post it at the end in every pass...
Type: Posts; User: Medo Almasry
Actually I appreciate your help both of you...
but this is a MODIFIED SELECTION SORT :D
The purpose is to find min and post it at beginning, find max and post it at the end in every pass...
public class PAS2 {
public static void main(String[] args) {
int[] x = {1,4,2,6,5,3,4};
for(int z : modifiedselectionsort(x)){
System.out.print(z + "\t");
}
public static int[]...