#include <stdio.h>
int main() {
char ch;
printf("enter character \n");
scanf(" %c", &ch);
if ( ch >= 'a' && ch <= 'z')
{ printf(" lowercase ");
} else if ( ch >= 'A' && ch <= 'Z')
{ printf(" uppercase");}
else
{ printf("not an english alphabet");
}
return 0;
}
// a =97 & z= 122
//A=65 & Z=90
To embed this project on your website, copy the following code and paste it into your website's HTML: