Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //prog that determines if input is alphabet
- #include <stdio.h>
- char letter;
- int main() {
- printf("Enter the letter to distinguish if it's in the alphabet ");
- scanf("%c", &letter);
- if ((letter > 'a' && letter < 'z') || (letter > 'A' && letter < 'Z'))
- printf("alphabet");
- else
- printf("blyat");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement