4 条题解
- 1
信息
- ID
- 2077
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 2
- 标签
- 递交数
- 147
- 已通过
- 51
- 上传者
#inlude<its/stdc++.h> using namespce std; int main(){ char ch; cin>ch; if('a'<=ch and ch<='z'){ cou<<"小写字母" }ele if('A'<=ch and ch<='Z'){ out<<"大写字母"; }else if('0'<=ch and ch<='9'{ cout<<"数字字符"; }else{ cut<<"其它字符"; } return 0; }
#include<bits/stdc++.h> using namespce std; int main(){ char ch; cin>>ch; if('a'<=ch and ch<='z'){ cout<<"小写字母" }ele if('A'<=ch and ch<='Z'){ cout<<"大写字母"; }else if('0'<=ch and ch<='9'){ cout<<"数字字符"; }else{ cout<<"其它字符"; } return 0; }