38. What Kind of Character?

Acceptance — 0 accepted 0 submissions

Easy
ConditionalsStrings
No companies listed
When you create a password, websites check what kind of characters you typed.

Given a single character, print:
• Uppercase for A-Z
• Lowercase for a-z
• Digit for 0-9
• Special for anything else

Input Format
A single character (never a space).

Output Format
Print Uppercase, Lowercase, Digit or Special.

Constraints
• The character is a printable ASCII character other than space.

Example 1

Input
G
Output
Uppercase

Explanation G is between A and Z.

Example 2

Input
m
Output
Lowercase

Explanation m is between a and z.

Example 3

Input
7
Output
Digit

Explanation 7 is a digit.

Example 4

Input
@
Output
Special

Explanation @ is not a letter or digit.

Acceptance —
Accepted 0
Submissions 0
Auto-save
Saved Ln 1, Col 1
Submit a solution to see its status here.
Input
Expected Output
Uppercase
No results yet
Run your code to test it against the sample cases.
Problem List