Or you could just as easily use a while:
while( i<10 && i>40)
{
//Get input method
}
Type: Posts; User: Majora94
Or you could just as easily use a while:
while( i<10 && i>40)
{
//Get input method
}
Make a function to get the user input. The use an if to see if the value is in the range. Then if the value is not in the wanted range say "Value must be: blah blah" and then run the function again