题解 | #判断字母#
判断字母
https://www.nowcoder.com/practice/44d2d63103664913bc243d3836b4f341
#include <stdio.h> int main() { int ch = 0; while ((ch = getchar()) != EOF) { if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) { printf("YES\n"); } else { printf("NO\n"); } getchar(); } return 0; }
c语言刷题 文章被收录于专栏
c语言刷题题目