题解 | 判断字母
判断字母
https://www.nowcoder.com/practice/44d2d63103664913bc243d3836b4f341
#include <stdio.h>
int main() {
char ch;
scanf("%c", &ch);
if(ch>='A'&&ch<='z')
printf("YES");
else
printf("NO");
return 0;
}
忘记对应编码,但能清楚地记得大写A的ASCII码是最小的,而小写z是ASCII码是最大的。
#双非本科的出路是什么?#
查看10道真题和解析