题解 | #牛牛的判断题#
判断字母
http://www.nowcoder.com/practice/44d2d63103664913bc243d3836b4f341
import java.util.*; public class Main{ public static void main(String args[]){ Scanner in=new Scanner(System.in); char a=in.next().charAt(0); if((a>='a'&&a<='z')||(a>='A'&&a<='Z')){ System.out.println("YES"); } else{ System.out.println("NO"); } } }