How to Loop through a If condition untill the user enter a required value, in Visual Basic
<pre><code>Console.WriteLine("Please Enter the number")
Dim number As Integer = Console.ReadLine()

If (number=&lt; 40) Then
    number = number* 10
ElseIf (number=&lt; 150) Then
    number= number* 15
Else
    number= number* 26
End If
Console.WriteLine(number)

Dim total As Integer
Dim vALUE As Integer

   Console.WriteLine("Please, type 1 for x . Type 2 for y. Type 3 z")
vALUE = Console.ReadLine()

If vALUE = 1 Then
    Console.WriteLine("x")
    total = number* (106 / 100)

ElseIf vALUE = 2
    Console.WriteLine("y")
    total = number* (112 / 100)

ElseIf uSERvALUE = 3
    Console.WriteLine("z")
    total = number* (116 / 100)

Else
    Console.WriteLine("Sorry please re-enter the value")
    vALUE = Nothing


End If
</code></pre>

<p>End While</p>

<p>Please tell me how to repeat the if condition. In the else line I have displayed to the user to re-enter the value. Therefore I need to repeat the if condition until the value is 1 or 2 or 3.Please explain how to do I'm a newbie. </p>