Sunday, 21 October 2018

islower() function in c - ctype.h library function

#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();

}

No comments:

Post a Comment

JTable Hide and Show in Java Swing