I want to combine both the for loops into single for loop. How can i do that?
I want to loop through a to z, and A to Z, like so:
char ch;
for (ch = 'A' ; ch <= 'Z' ; ch++ )
{
}
for (ch = 'a' ; ch <= 'z' ; ch++ )
{
}
but using a single loop.
I want to combine both the for loops into single for loop. How can i do that?
I want to loop through a to z, and A to Z, like so:
char ch;
for (ch = 'A' ; ch <= 'Z' ; ch++ )
{
}
for (ch = 'a' ; ch <= 'z' ; ch++ )
{
}
but using a single loop.