Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char ch;
- printf("Enter any character: \n");
- scanf("%c",&ch);
- if( (ch>='a'&& ch<='z') || (ch>='A'&& ch<='Z') )
- {
- printf("The entered character %c is an Alphabet",ch);
- }
- else
- {
- printf("The entered character %c is not an Alphabet",ch);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement