int main()
{
const int arraysize = 10;
int userArray[arraysize];
userInput(userArray, arraysize);
reverseArray(userArray, arraysize);
system("pause");
return 0;
}
void userInput(int userArray[], int arraysize)
{
cout<<"pleaser enter ten numbers"<<endl;
for(int index = 0; index < arraysize; index++)
{
cout<<"please enter value "<<(index+1)<<": ";
cin>>userArray[arraysize];
cout<<endl;
}
}