title: How to make each number, 1-1000, to show what it is e.g. odd/even, more than 500
body: <p>OK. I have been trying this code for a long time now. I want to write a program which prints out the numbers 1-1000. For each number, I want it to show if it is odd/even, whether or not it is smaller than 250, bigger than or equal to 250 and less than 500, bigger than or equal to 500 and less than 750 or bigger than or equal to 750. This is my code, but it doesn't work, and I have searched over the IE and found nothing to help.</p>
  
  <pre><code>for (int i = 0; i &lt; 1001; i++) ;
  
          if ((i % 2) == 0)
          {
              Console.WriteLine(i + " is even ");
          }
          else
          {
              Console.WriteLine(i + " is odd ");
          }
          if (i &lt; 250)
          {
              Console.WriteLine(" is less than 250");
          }
          else
          {
              Console.WriteLine("");
          }
          if (i &gt;= 250)
          {
              if (i &lt; 500)
              {
                  Console.WriteLine(" is greater than or equal to 250 and less than 500 ");
              }
              else
              {
                  Console.WriteLine("");
              }
              if (i &gt;= 500)
              {
                  if (i &lt; 750)
                  {
                      Console.WriteLine(" is greater than or equal to 500 and less than 750 ");
                  }
                  else
                  {
                      Console.WriteLine("");
                  }
                  if (i &gt;= 750)
                  {
                      Console.WriteLine(" is greater than or equal to 750  ");
                  }
                  else
                  {
                      Console.WriteLine("");
                  }
                  Console.ReadLine();
  </code></pre>
  
  <p>I think it is the "i" s as there are errors saying that it doesn't exist in the current context. How do make it so it doesn't say that at makes the code better? Have I got the rest correct. Please help.</p>