#E. 【例21.3】 字符类型判断

    Type: RemoteJudge 1000ms 64MiB

【例21.3】 字符类型判断

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

输入一个字符,判断该字符是否大写字母、小写字母、数字字符或其他字符。分别输出对应的提示信息。

输入格式

输入为一个字符。

输出格式

如果该字符是大写字母,则输出"upper";若是小写字母,则输出"lower";若是数字字符,则输出"digit";若是其他字符,则输出"other"。(输出不含双引号)

样例

1
digit

测试分支语句2

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2025-1-19 8:15
End at
2025-1-19 10:15
Duration
2 hour(s)
Host
Partic.
4