Accept a character from the keyboard using Scanner class and check if it is an Uppercase character,
lowercase character, a digit or any other special character using IF...ELSE.
Answers
Answered by
1
Explanation:
Algorithm to check whether a given character is upper case, lower case, number or special character
Input the character.
Find the ASCII value of the character.
If the ASCII value of the character is between 65 and 90, print "Upper".
If the ASCII value of the character is between 97 and 122, print "Lower".
Similar questions
Physics,
2 months ago
Science,
2 months ago
Math,
5 months ago
Accountancy,
10 months ago
English,
10 months ago