#include <iostream>
usingnamespace std;
int main()
{
int size;
cout<<"Please enter the size of the array.\n";
cin>>size;
int* array = newint[size];
for ( int i = 0 ; i < size ; ++i )
{
cout<<"Enter the value of the element at position " <<i<< " of your array: ";
cin>>array[i];
}
cout<<"Here's the elements of your array: \n";
for ( int i = 0 ; i < size ; ++i )
{
cout<<array[i]<<endl;
}
return 0;
}