题解 | #判断字母#
判断字母
http://www.nowcoder.com/practice/44d2d63103664913bc243d3836b4f341
#include <stdio.h>
int main(){
char n;
scanf("%c",&n);
if((n>='a'&&n<='z')||(n>='A')&&n<='Z') printf("YES\n");
else printf("NO\n");
return 0;
}
int main(){
char n;
scanf("%c",&n);
if((n>='a'&&n<='z')||(n>='A')&&n<='Z') printf("YES\n");
else printf("NO\n");
return 0;
}
