User is supposed to type an input, and if it's not an integer, the user needs to type another.
This repeats 3 times for 3 inputs which go inside an array.
The integer checking works, but the problem is that when i display the 3 integers, they are all the same number (the first correct input). Idk what's wrong. I've tried cin.clear() and cin.sync()...
cout<<"Enter your "<<text[i+6]<<": ";
cout<<"\nPlease enter a valid integer.";
What does your display loop look like?