mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-05 03:29:46 +08:00
n is now taken as an input.
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user