Skip to content

Commit 28343d2

Browse files
committed
add console printing for after sorting
1 parent 9dbf000 commit 28343d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sorts/bubblesort.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ console.log("-----before sorting-----")
2727
console.log(ar);
2828
bubbleSort(ar);
2929
//Array after sort
30+
console.log("-----after sorting-----")
3031
console.log(ar);
3132

3233
/*alternative implementation of bubble sort algorithm.

0 commit comments

Comments
 (0)