You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include<stdio.h>
|
|
void check(char);
|
|
void main()
|
|
{
|
|
char ch;
|
|
printf("enter any character");
|
|
scanf("%c",&ch);
|
|
check(ch);
|
|
}
|
|
void check(char c)
|
|
{
|
|
if(ch>=65&&ch<=90)
|
|
printf("char is upper case");
|
|
else if(ch>=97&&ch<=122)
|
|
printf("character is lower case");
|
|
} |