Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C Program to Check Whether Character is Lowercase or Not using ASCII Values

#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");
   }  
}
Source by www.tutorialgateway.org #
 
PREVIOUS NEXT
Tagged: #C #Program #Check #Whether #Character #Lowercase #Not #ASCII #Values
ADD COMMENT
Topic
Name
9+5 =