title: Why does this simple code with printf "freeze"?
body: <p>When I run this code the program freezes,why?</p>
  
  <pre><code>main()
  {
  int co;
      co=0;
      while (co&lt;10) {
  
          co=co+1;
  
          if (co==3)
              printf("The number is now three.");
          if (co==7)
              printf("The number is now seven.");
          else
              printf(co);
  
  }
  }
  </code></pre>
  
  <p>I'm compiling it with mingw GCC.</p>