#include #include void bubbleSort(int *array,int length)//Bubble sort function { int i,j; for(i=0;i<10;i++) { for(j=0;jarray[j]) { int temp=array[i]; //swap array[i]=array[j]; array[j]=temp; } } } } void printElements(int *array,int length) //print array elements { int i=0; for(i=0;i<10;i++) cout<