title: I'm have trouble deciding odd or even using the argument from command line
body: <pre><code>#include&lt;stdio.h&gt;
  int main(int argc, char** argv){
      if ( argc%2 == 0 ){
          printf("even\n");}
      else if( argc%2 == 1 ){
          printf("odd\n");}
      else{
          printf("error\n");}
      return 0;  
  }
  </code></pre>
  
  <p>The output is always even, but i dont know why.</p>