title: program to find the largest and smallest among three entered numbers and also display whether the identified largest/smallest number is even or odd
body: <p>This is my homework and i am stuck with how should i identify that the smallest/largest number is even or odd.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  void main()
  {
      int num1,num2,num3;
      printf("Enter three numbers\n");
      scanf("%d %d %d",&amp;num1,&amp;num2,&amp;num3);
      if(num1&lt;num2 &amp;&amp; num1&lt;num3){
          printf("\n%d is the smallest",num1);
      }
      else if(num2&lt;num3){
          printf("\n%d is the smallest",num2);
      }
      else{
          printf("\n%d is the smallest",num3);
      }
      if(num1&gt;num2 &amp;&amp; num1&gt;num3){
          printf("\n%d is largest",num1);
      }
      else if(num2&gt;num3){
          printf("\n%d is largest",num2);
      }
      else{
          printf("\n%d is largest",num3);
      }
      getch();
      return 0;
  }
  </code></pre>