|
#include <stdio.h>
int main (void)
{
char cA;
printf ("Please enter any uppercase and lowercase letters:");
scanf ("% c",&cA);
while ((cA> = 65&&cA <= 91) || (cA> = 97&&cA <= 123))
{
if (cA> = 65&&cA <= 91)
{
cA = cA + 32;
}
printf ("% c", cA);
printf ("\n");
printf ("Please enter any uppercase and lowercase letters:");
scanf ("% c",&cA);
}
return 0;
}
Why doesn't the input in this loop work? |
|