#include<stdio.h>
#include<conio.h>
#include<ctype.h> // library for islower function must require it
void main()
{
char c;
printf("Enter character : ");
scanf("%c",&c);
if(islower(c)==0)
printf("Enter character is Not a lower case");
else
printf("Enter character is Lower case");
getch();
}
#include<conio.h>
#include<ctype.h> // library for islower function must require it
void main()
{
char c;
printf("Enter character : ");
scanf("%c",&c);
if(islower(c)==0)
printf("Enter character is Not a lower case");
else
printf("Enter character is Lower case");
getch();
}
No comments:
Post a Comment