diff --git a/bubble_sort.cpp b/bubble_sort.cpp new file mode 100644 index 0000000..fef69b3 --- /dev/null +++ b/bubble_sort.cpp @@ -0,0 +1,29 @@ +#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 <