diff --git a/codes/15895534.java b/codes/15895534.java new file mode 100644 index 0000000000000000000000000000000000000000..b25a09f1d5cf299956f3ae10ff9cfb5641a965f5 --- /dev/null +++ b/codes/15895534.java @@ -0,0 +1,13 @@ +public static void bubbleSort(int[]a;int n;) + for(int i=0;1a[j+1]){ + int temp=a[j]; + a[j]=a[j+1]{ + int temp=a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } + }