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
Hints
Four rungs, in order. The last two open once you have submitted an attempt. A wrong one counts.
Hint 1Where to start
Hint 2The approachOpen hint 1 first. This one carries on from it.
Hint 3PseudocodeOpen hint 2 first. This one carries on from it.
Hint 4Full solutionOpen hint 3 first. This one carries on from it.