diff --git a/15895533.java/15895533.java b/15895533.java/15895533.java new file mode 100644 index 0000000000000000000000000000000000000000..816a7f1c8cf4f3684fbabe2d5b597186b80787e8 --- /dev/null +++ b/15895533.java/15895533.java @@ -0,0 +1,11 @@ +public static bubbleSort(int []a,int n){ + for(int i=0;ia[j+1]){ + int temp=a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +} diff --git a/codes/m20231041030/15895533.java b/codes/m20231041030/15895533.java new file mode 100644 index 0000000000000000000000000000000000000000..816a7f1c8cf4f3684fbabe2d5b597186b80787e8 --- /dev/null +++ b/codes/m20231041030/15895533.java @@ -0,0 +1,11 @@ +public static bubbleSort(int []a,int n){ + for(int i=0;ia[j+1]){ + int temp=a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +}