Search This Blog

Translate

C program to test whether character is uppercase or lowercase

C program to test whether character is uppercase or lowercase ,
C program to accept a character and check whether character is uppercase or lowercase  using macro


#include
#include
#define CHECK(x) ((x>64&&x<91 character="" entered="" font="" is="" letter="" lowercase="" n="" nyou="" printf="" uppercase="">
void main()
{
char ch;
clrscr();
printf("\n\nEnter any character=");
scanf("%c",&ch);
CHECK(ch);
getch();
}



C program to test whether character is uppercase or lowercase ,
C program to accept a character and check whether character is uppercase or lowercase  using macro

C Program example List

Google+ Badge