mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
n is now taken as an input.
This commit is contained in:
parent
aead0ba366
commit
4ff86897b1
@ -6,8 +6,10 @@ using namespace std;
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int n;
|
int n;
|
||||||
|
cout<<"\nEnter the length of your array : ";
|
||||||
|
cin>>n;
|
||||||
int Array[n];
|
int Array[n];
|
||||||
cout<<"\nEnter any 6 Numbers for Unsorted Array : ";
|
cout<<"\nEnter the Numbers for Unsorted Array : ";
|
||||||
|
|
||||||
//Input
|
//Input
|
||||||
for(int i=0; i<n; i++)
|
for(int i=0; i<n; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user