提交时间:2025-03-06 20:09:16
运行 ID: 61671
#include <iostream> // 头文件 → 工具 using namespace std; // 命名空间 // 主函数 : 炒菜主要的动作 int main() { char a; cin>>a; if(a>='A' && a<='Z') cout<<"upper"; else if(a>='a'&&a<='z') cout<<"lower"; else if(a>='0'&&a<='9') cout<<"digit"; else cout<<"other"; return 0; // 程序的终止语句 }