title: Detect upper and lower case in C
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main() {
      char c;
      printf("Hello World ! Right something you want to know about\n");`
  
      scanf_s("%c", &amp;c);
  
      if (c = 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O','P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z') 
      {
          printf("\nThe input is an upper case letter\n");
      }
      else if  (c = 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z') 
      {
          printf("\nThe input is lower case letter\n");
      }
      return 0;
  }
  </code></pre>
  
  <p>I am very new to C programming, and I was trying to make a program that detects upper case and lower case letters, but this doesn't work and obviously I can't figure out why!</p>