C# Do While looping problems
<p>I'm new to coding and I'm really stuck on this C# do while loop business. After a long time of messing with it I finally got it to loop a statement, but now it just repeats whatever statement was made first. For example, if it generates the number 6 and you guess 7 it'll say "too high..." but then when you guess again whether you're too low or equal to 6, it will still say "too high..."</p>

<p>Thanks         </p>

<pre><code>    static void Main(string[] args)
    {
        Random r = new Random();

        int intRandomNum;

        // ask the random num gen for num between 1 and 12
        intRandomNum = r.Next(10) + 1;

        //ask user for their first guess
        Console.WriteLine("I'm going to generate a random number, can you guess what it is? " + intRandomNum);

        int intUserNum = int.Parse(Console.ReadLine());

        do
        {

            if (intUserNum == intRandomNum)
            {
                Console.WriteLine("You got it! Great job!");
            }

            if (intUserNum &lt; intRandomNum)
            {
                Console.WriteLine("Too low! Try Again.");
                Console.ReadLine();
            }
            if (intUserNum &gt; intRandomNum)
            {
                Console.WriteLine("Too high! Try again.");
                Console.ReadLine();
            }

        } while (intUserNum != intRandomNum);

        Console.ReadKey();
    }
}
</code></pre>

<p>}</p>

<p><strong>Thanks everyone for the help! I got it! Finally!</strong></p>
