Program : Check Whether Entered Character is Lowercase Letter or Not Without using Library Function.
Way 1 :
#include<stdio.h> void main() { char ch; int i; clrscr(); printf("\nEnter The Character : "); scanf("%c",&ch); if(ch>='a' &&ch<='z') printf("\nCharacter is Lowercase Letters"); else printf("\nCharacter is Not Lowercase Letters"); getch(); }
Way 2 :
#include<stdio.h> void main() { char ch; int i; clrscr(); printf("\nEnter The Character : "); scanf("%c",&ch); if(ch>=97 && ch<=122) printf("\nCharacter is Lowercase Letters"); else printf("\nCharacter is Not Lowercase Letters"); getch(); }
Output :
Enter The Character : a Character is Lowercase Letters
Program Under Section : String Programs
Incoming search terms:
- c program for whether entered character is lower case or not (1)
- c program to check lowercase (1)
- convert int char lowercase without libray functions (1)
- islowercase c library (1)
- java programming islowercase (1)
- program in c to check whether entered character is in lowercase or uppercase using library fuctions (1)