Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Program to Check Whether Character is Lowercase or Not without using islower function

#include <stdio.h>

int main()
{
  char Ch;

  printf("
 Please Enter any alphabet
");
  scanf("%c", &Ch);

  if (Ch >= 'a' && Ch <= 'z')
   {  
     printf ( "
Entered character is lowercase alphabet") ;
   }
  else
   {
     printf("
Entered character is Not lowercase alphabet");
   }  
}
Source by www.tutorialgateway.org #
 
PREVIOUS NEXT
Tagged: #Program #Check #Whether #Character #Lowercase #Not #islower #function
ADD COMMENT
Topic
Name
5+6 =