while loops and reprompting user please answer

Hello, I am trying to make a program and so far I am having bad luck. How do you make it where if the if statments are not met, they will reprompt the use to enter another input?
1
2
3
4
5
6
std::cout << "enter values";
std::cin >> values;
while(values < sentiel) {
    std << cout << "enter correct values";
    std::cin >> values;
}
Topic archived. No new replies allowed.