Merge pull request #103 from mrdogan7/patch-1

n is now taken as an input.
This commit is contained in:
Ashwek Swamy
2019-02-09 12:59:16 +05:30
committed by GitHub

View File

@@ -6,8 +6,10 @@ using namespace std;
int main()
{
int n;
cout<<"\nEnter the length of your array : ";
cin>>n;
int Array[n];
cout<<"\nEnter any 6 Numbers for Unsorted Array : ";
cout<<"\nEnter the Numbers for Unsorted Array : ";
//Input
for(int i=0; i<n; i++)