#include <iostream>
void userNumbers( int *aPtr, int n )
{
std::cout << "Please enter your " << n << " lottery numbers seperated by spaces";
for ( int i = 0; i < n; i++ ) std::cin >> aPtr[i];
}
int main ()
{
constint N = 4;
int usernum[N];
userNumbers( usernum, N );
for ( int i = 0; i < N; i++ ) std::cout << usernum[i] << ' ';
std::cout << std::endl;
return 0;
}