Type: Default 1000ms 256MiB

【例40.1】 字符类型判断

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

AShui0709堂训

Not Claimed
Status
Done
Problem
17
Open Since
2025-7-9 0:00
Deadline
2025-7-17 23:59
Extension
24 hour(s)