#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("Enter any Character");
scanf("%c",&ch);
if(ch>=65)
{
if(ch<=90)
{
printf("UPPER CASE");
}
else
{
printf("lower case");
}
}
else
{
printf("Not UPPER CASE Nor LOWER CASE");
}
getch();
}
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("Enter any Character");
scanf("%c",&ch);
if(ch>=65)
{
if(ch<=90)
{
printf("UPPER CASE");
}
else
{
printf("lower case");
}
}
else
{
printf("Not UPPER CASE Nor LOWER CASE");
}
getch();
}
0 comments: (+add yours?)
Post a Comment