title: Using a for-loop to print numbers
body: <p>I'm trying to write a program that prints all numbers from 0 to 1,000 where the number mod 5 = 3. This is what I have so far </p>
  
  <pre><code>public class NewMain {
  public static void modNumbers(int i)
  {
  
  }
  
  public static void main(String[] args) {
  
      for(int i = 0; i &gt; 1000; i++)
      {
          if(i%5 = 3)
          {
          System.out.println(i);
          }
      }
  
   }
  }
  </code></pre>
  
  <p>I'm not getting any output, so I know I'm doing something wrong. Should I have a return type in the method?</p>