title: Convert the following SWITCH statement into an IF...ELSE statement
body: <p>b)  Convert the following switch statement into an if…else statement.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  void main()
  {
      char option;
      int a;
      printf("a.Addition\n b.Subtraction\n c.Multiplication\n d.Division\n");
      printf("Choose your option : ");
      scanf("%c",&amp;option);
  
      switch(option)
      {
      case 'a':
      case 'A': a=20+10;
          printf("Addition process result:%d",a);
          break;
      case 'b':
      case 'B': a=20-10;
          printf("Subtraction process result:%d",a);
          break;
      case 'c':
      case 'C': a=20*10;
          printf("Multiplication process result:%d",a);
          break;
      case 'd':
      case 'D': a=20/10;
          printf("Division process result:%d",a);
          break;
      default: printf("Invalid option");
      }
      printf("\nEnd of program");
  
  }
  </code></pre>
  
  <p>How do I convert it from SWITCH to IF...ELSE? 
  This is a revision question for my exam
  Thank You</p>