See here is such a situation:
The user enters his local time in parts, the first - an hour, the second - the minute, the third - the second. I wrote it here in this format:
Now I want to check what data the user entered, if the hour indicator is less than 0 or greater than or equal to 24, then it is necessary that the loop h = Convert.ToInt32 (Console.ReadLine ()); repeated. wrote a roadmap like this: 
I did not decide which operator I tried to use if in this way:
if the if gives out the rub, it usually continues, if it gives out the fols continues with the same entered one. return h; I tried to write it in the if statement but it doesn’t work, and this is obvious, h is out of sight if a. Please tell me what and how.
whileordo-while- tym32167