public class bubblesort{
public bubblesort(){
int a []={54,34,76,58,97,43,22,32,11,12,36,79,98,75,46,35,26}
int temp=0;
for(int i=0;i<a.length-1;i++){
for(int j=0;j<a.length-1-i;j++){
if(a[j]>a[j+1]){
tmep=a[j];
a[j]=a[j+1];
a[j+1]=tmep;
}
}
}
for(int i=0;i<a.length;i++)
System.out.println(a[i]);
}
}