title: How can I write a single for loop running from a to z and A to Z in C?
body: <p>I want to combine both the for loops into single for loop. How can i do that?</p>
  
  <p>I want to loop through a to z, and A to Z, like so:</p>
  
  <pre><code>char ch;
  for (ch = 'A' ; ch &lt;= 'Z' ; ch++ )
  { 
  }
  for (ch = 'a' ; ch &lt;= 'z' ; ch++ )
  {
  }
  </code></pre>
  
  <p>but using a single loop.</p>