title: Adding numbers between 0 and 100
body: <pre><code>int x = -1;
  int y = 0;
  while(x&lt;100)
  {
      x++;
      y+=x;
      System.out.println(y);
  }
  </code></pre>
  
  <p>use a while loop to find the sum of all the integers from 0 to 100 </p>
  
  <p>I've tipped out this code and it gave me a number of 5050 I'm not sure if it is right.</p>