17. Character Type
Foundation1000 ms256 MBSolved by 0%
Read a single character and print what kind it is:
Uppercasefor A–ZLowercasefor a–zDigitfor 0–9Specialfor anything else
Constraints - The input is exactly one printable ASCII character.
Input
A single line containing one character.
Output
Print exactly one word: Uppercase, Lowercase, Digit or Special.
InputG
OutputUppercase
Noteis an uppercase letter
Inputq
OutputLowercase
Noteis a lowercase letter
Hint 1Approach
Hint 2Approach
Hint 3Pseudocode
Hint 4Full solution