title: Why does this code work in Dev-C++ but not in Visual C++?
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
  
  int f,c;
  int lower,upper,step;
  
  lower = 0;
  upper = 300;
  step = 20;
  
  
  while (f &lt;= upper) {
  
      c = 5 * (f - 32) / 9;
      printf("%d\t%d\n",f,c);
      f = f + step;
  }
  
  return 0;
  
  }
  </code></pre>
  
  <p>I forgot to write <code>f = lower</code>, but it also runs and gets the right answer. I can't post images. I think it's wrong because it won't run with Visual C++, but why?</p>