title: How to print odd numbers ( 1 -> 10) by do - while
body: <p>How to print odd numbers ( 1 -> 10) by do - while?</p>
  
  <p>My code: <a href="http://codepad.org/yS6DNq8Y" rel="nofollow">http://codepad.org/yS6DNq8Y</a></p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
   int i;
  void Dayso()
  {
  
      do 
      {
          i = 1
          i++;
          if ( i % 2 == 0 )
          {
              continue;
          }
          printf ("\n%d",i);
  
      }while (i &lt;= 10 );
  
  }
  
  int main()
  {
      Dayso ();
      getch();
      return 0;
  }
  </code></pre>
  
  <p>and the output:</p>
  
  <pre><code>Line 18: error: conio.h: No such file or directory
  In function 'Dayso':
  Line 10: error: expected ';' before 'i'
  </code></pre>
  
  <p>How do I fix this? </p>