C++ Program to Check Given Character is Uppercase, Lowercase, Digit or Special Character
Below I have shared C++ program to check whether a given character is an uppercase or lowercase alphabet, a digit or a special character. First of all I read a character an then compare it with ASCII values given below. Uppercase Alphabet: 65-90 Lowercase Alphabet: 97-122 Digit: 48-57 If ASCII value of character is other …
C++ Program to Check Given Character is Uppercase, Lowercase, Digit or Special Character Read More »