//Bubble Sort #include using namespace std; int main() { int n; short swap=0; cin >> n; int Array[n]; cout<<"\nEnter any "<>Array[i]; } //Bubble Sorting for(int i=0; iArray[j+1]) { swap=1; int temp=Array[j]; Array[j]=Array[j+1]; Array[j+1]=temp; } } if(swap == 0) { break; } } //Output cout<<"\nSorted Array : "; for(int i=0; i