题解 | #判断是不是字母#
判断是不是字母
https://www.nowcoder.com/practice/91a588dd4cd244bfa616f17603ec123c
#include<bits/stdc++.h>
using namespace std;
int main(){
char c;
while(scanf("%s",&c)!=EOF){
if(c>='a'&& c<='z') cout<<c<<" is an alphabet."<<endl;
else if(c>='A' && c<='Z') cout<<c<<" is an alphabet."<<endl;
else cout<<c<<" is not an alphabet."<<endl;
}
return 0;
}
我最近在参加一个分享题解的活动,大家也都知道,这道题我没什么可说的
回复才能的 文章被收录于专栏
休息休息Thanks♪(・ω・)ノ
阿里云成长空间 794人发布