diff --git a/Algorithms/Arrays/Bubble_sort/bubble_sort.cpp b/Algorithms/Arrays/Bubble_sort/bubble_sort.cpp new file mode 100644 index 00000000..747359ac --- /dev/null +++ b/Algorithms/Arrays/Bubble_sort/bubble_sort.cpp @@ -0,0 +1,32 @@ +#include +using namespace std; +int main () +{ + int i, j,temp,pass=0; + int a[10] = {10,2,0,14,43,25,18,1,5,45}; + cout <<"Input list ...\n"; + for(i = 0; i<10; i++) { + cout <