Create a program to display whether the entered character is in uppercase or lower case
Answers
Answered by
3
Answer:
Logic to check uppercase and lowercase alphabets
Input a character from user. Store it in some variable say ch .
Character is uppercase alphabet if(ch >= 'A' and ch <= 'Z') .
Character is lowercase alphabet if(ch >= 'a' and ch <= 'z') .
If none of the above conditions met, then character is not alphabet.
[I hope help]
Similar questions