diff --git a/Sorting/Bubble Sort.cpp b/Sorting/Bubble Sort.cpp index c94a45efc..7d79f78e7 100644 --- a/Sorting/Bubble Sort.cpp +++ b/Sorting/Bubble Sort.cpp @@ -3,27 +3,24 @@ #include using namespace std; -int main() -{ - int n; +int main(){ + int n, temp; + cout<<"Enter size of Array = "; cin >> n; - int Array[n]; - cout<<"\nEnter any 6 Numbers for Unsorted Array : "; + int *Array = new int[n]; + cout<<"\nEnter any " <