#include <stdio.h>
int main()
{
char Ch;
printf("
Please Enter any character
");
scanf("%c", &Ch);
if (Ch >= 97 && Ch <= 122)
{
printf ( "
Entered character is lowercase alphabet") ;
}
else
{
printf("
Entered character is Not lowercase alphabet");
}
}
#include <stdio.h>
#include <ctype.h>
int main()
{
char Ch;
printf("
Please Enter any alphabet
");
scanf("%c", &Ch);
if ( islower(Ch) )
{
printf ("
Entered character is lowercase alphabet");
}
else
{
printf("
Entered character is Not lowercase alphabet");
}
}
char ch = 'z';
if(islower(ch))
printf("Lower case");
else
printf("upper case");
CCopy