Meri kalam se
Tuesday, 22 February 2022
check whether the entered character is a lowercase or not in C
#include
<stdio.h>
int
main
(){
char
ch
;
printf
(
"Enter the character
\n
"
);
scanf
(
"
%c
"
,&
ch
);
if
(
ch
>=
97
&&
ch
<=
122
)
{
printf
(
"The entered character is a lowercase
\n
"
);
}
else
printf
(
"The entered character is not a lowercase
\n
"
);
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment