title: Why my "while loop" does not stop
body: <p>I have some lines of code like this.
  can  anyone explain for me why "while loop" does not stop. it is keeping shows the result more than the balance.   </p>
  
  <pre><code>static void Main(string[] args)
  {
      const double balance = 303.91;
      const double phonePrice = 99.99;
      double a = 0;
  
      while (a &lt; balance )
      {
          a = a + phonePrice; 
      }
      Console.WriteLine(a);
      Console.ReadLine();
  }
  </code></pre>