Here is one way of doing it.
int Array[5] = {0};
int num(0); //the number the use will input;
for(int i = 0; i < 5; i++)
{
cout<<"Enter value# "<<i<<": ";
cin >> num;
if( num >=5 && num <= 15) //put number into array only if its within bounds
Array[i] = num;
else
{
cout<<"Number should be from 5 to 15. Try again\n";
i = i - 1; //if not subtract 1 from i to reset it
}
}