public class W4P7{
public static void main(String []args){
int [] myArray = {11, 29, 21, 23, 33, 32};
method(myArray);
}//end of main
/****************start of method****************/
public static void method(int [] x)
{
int swap;
for(int i=0; i<x.length;i++){
for(int j=0; j<x.length-1;j++){
if(x[j] > x[j+1]){
swap = x[j];
x[j]=x[j+1];
x[j+1]=swap;
}//end of if
}//end of for
}//end of for
}
/****************end of method****************/
}//end of class
It just prints out a blank screen